pokeemerald/data/maps/scripts/PacifidlogTown_House2.inc

157 lines
4.4 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
PacifidlogTown_House2_MapScripts:: @ 8203791
.byte 0
PacifidlogTown_House2_EventScript_203792:: @ 8203792
lock
faceplayer
dodailyevents
call PacifidlogTown_House2_EventScript_2037DE
checkflag FLAG_0x12B
goto_eq PacifidlogTown_House2_EventScript_20387E
checkflag FLAG_0x12C
call_if 1, PacifidlogTown_House2_EventScript_2037F8
checkflag FLAG_0x12C
call_if 0, PacifidlogTown_House2_EventScript_203801
setflag FLAG_0x12C
specialvar VAR_RESULT, sub_8138C04
compare_var_to_value VAR_RESULT, 4
goto_if 4, PacifidlogTown_House2_EventScript_203816
specialvar VAR_RESULT, sub_8138C04
compare_var_to_value VAR_RESULT, 2
goto_if 4, PacifidlogTown_House2_EventScript_203845
goto PacifidlogTown_House2_EventScript_20384F
end
PacifidlogTown_House2_EventScript_2037DE:: @ 82037DE
checkflag FLAG_0x12B
goto_if 0, PacifidlogTown_House2_EventScript_27374E
specialvar VAR_RESULT, sub_813970C
compare_var_to_value VAR_RESULT, 0
call_if 1, PacifidlogTown_House2_EventScript_203812
return
PacifidlogTown_House2_EventScript_2037F8:: @ 82037F8
msgbox PacifidlogTown_House2_Text_20395B, 4
return
PacifidlogTown_House2_EventScript_203801:: @ 8203801
msgbox PacifidlogTown_House2_Text_2038C7, 4
msgbox PacifidlogTown_House2_Text_20395B, 4
return
PacifidlogTown_House2_EventScript_203812:: @ 8203812
clearflag FLAG_0x12B
return
PacifidlogTown_House2_EventScript_203816:: @ 8203816
msgbox PacifidlogTown_House2_Text_20396D, 4
giveitem_std ITEM_TM27
compare_var_to_value VAR_RESULT, 0
goto_eq PacifidlogTown_House2_EventScript_272054
setflag FLAG_0x12B
special sub_8139754
msgbox PacifidlogTown_House2_Text_203A85, 4
release
end
PacifidlogTown_House2_EventScript_203845:: @ 8203845
msgbox PacifidlogTown_House2_Text_2039CE, 4
release
end
PacifidlogTown_House2_EventScript_20384F:: @ 820384F
msgbox PacifidlogTown_House2_Text_203A2F, 4
giveitem_std ITEM_TM21
compare_var_to_value VAR_RESULT, 0
goto_eq PacifidlogTown_House2_EventScript_272054
setflag FLAG_0x12B
special sub_8139754
msgbox PacifidlogTown_House2_Text_203A85, 4
release
end
PacifidlogTown_House2_EventScript_20387E:: @ 820387E
specialvar VAR_RESULT, sub_813970C
buffernumberstring 0, VAR_RESULT
msgbox PacifidlogTown_House2_Text_203AF4, 4
release
end
PacifidlogTown_House2_EventScript_203891:: @ 8203891
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 0
msgbox PacifidlogTown_House2_Text_203B8D, 4
waitmoncry
msgbox PacifidlogTown_House2_Text_203B9D, 4
release
end
PacifidlogTown_House2_EventScript_2038AC:: @ 82038AC
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 2
msgbox PacifidlogTown_House2_Text_203BCE, 4
waitmoncry
msgbox PacifidlogTown_House2_Text_203BDF, 4
release
end
PacifidlogTown_House2_Text_2038C7: @ 82038C7
.string "Er-hem!\p"
.string "I am the POKéMON FAN CLUBs most\n"
.string "important person, the CHAIRMANs\l"
.string "younger brother.\p"
.string "Im here enjoying my vacation with\n"
.string "POKéMON, yes, indeed.$"
PacifidlogTown_House2_Text_20395B: @ 820395B
.string "Ah!\n"
.string "Your POKéMON…$"
PacifidlogTown_House2_Text_20396D: @ 820396D
.string "It clearly likes you very much.\p"
.string "A POKéMON that adoring and adorable\n"
.string "deserves a TM like this, no?$"
PacifidlogTown_House2_Text_2039CE: @ 82039CE
.string "Hmm…\n"
.string "Its not bad, but its also not good.\p"
.string "You, as the TRAINER, need to put in\n"
.string "some more effort.$"
PacifidlogTown_House2_Text_203A2F: @ 8203A2F
.string "It has a vicious look to it.\p"
.string "A frightening POKéMON like that\n"
.string "deserves a TM like this.$"
PacifidlogTown_House2_Text_203A85: @ 8203A85
.string "If a POKéMON likes you a lot, RETURNs\n"
.string "power is enhanced.\p"
.string "If it doesnt like you, FRUSTRATIONs\n"
.string "power goes up.$"
PacifidlogTown_House2_Text_203AF4: @ 8203AF4
.string "Oh, yes. In about {STR_VAR_1} or so days,\n"
.string "I should be getting a good TM or two.\p"
.string "You should come see me then.\n"
.string "Ill give you a TM thats suitable for\l"
.string "your POKéMON.$"
PacifidlogTown_House2_Text_203B8D: @ 8203B8D
.string "AZURILL: Rurii.$"
PacifidlogTown_House2_Text_203B9D: @ 8203B9D
.string "It appears to be very friendly with the\n"
.string "TRAINER.$"
PacifidlogTown_House2_Text_203BCE: @ 8203BCE
.string "AZURILL: Rururi!$"
PacifidlogTown_House2_Text_203BDF: @ 8203BDF
.string "It doesnt appear to like the TRAINER\n"
.string "very much.$"