pokeemerald/data/maps/PacifidlogTown_House2/scripts.inc

153 lines
4.8 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
dotimebasedevents
2017-11-10 02:21:31 +01:00
call PacifidlogTown_House2_EventScript_2037DE
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, PacifidlogTown_House2_EventScript_20387E
call_if_set FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_2037F8
call_if_unset FLAG_MET_FANCLUB_YOUNGER_BROTHER, PacifidlogTown_House2_EventScript_203801
setflag FLAG_MET_FANCLUB_YOUNGER_BROTHER
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 4
2018-12-22 02:28:24 +01:00
goto_if_ge PacifidlogTown_House2_EventScript_203816
specialvar VAR_RESULT, GetLeadMonFriendshipScore
compare VAR_RESULT, 2
2018-12-22 02:28:24 +01:00
goto_if_ge PacifidlogTown_House2_EventScript_203845
2017-11-10 02:21:31 +01:00
goto PacifidlogTown_House2_EventScript_20384F
end
PacifidlogTown_House2_EventScript_2037DE:: @ 82037DE
2019-01-02 22:12:43 +01:00
goto_if_unset FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK, PacifidlogTown_House2_EventScript_27374E
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
compare VAR_RESULT, 0
2018-12-22 03:32:45 +01:00
call_if_eq PacifidlogTown_House2_EventScript_203812
2017-11-10 02:21:31 +01:00
return
PacifidlogTown_House2_EventScript_2037F8:: @ 82037F8
msgbox PacifidlogTown_House2_Text_20395B, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
PacifidlogTown_House2_EventScript_203801:: @ 8203801
msgbox PacifidlogTown_House2_Text_2038C7, MSGBOX_DEFAULT
msgbox PacifidlogTown_House2_Text_20395B, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
PacifidlogTown_House2_EventScript_203812:: @ 8203812
2019-01-02 22:12:43 +01:00
clearflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
2017-11-10 02:21:31 +01:00
return
PacifidlogTown_House2_EventScript_203816:: @ 8203816
msgbox PacifidlogTown_House2_Text_20396D, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_TM27
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq PacifidlogTown_House2_EventScript_272054
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_EventScript_203845:: @ 8203845
msgbox PacifidlogTown_House2_Text_2039CE, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_EventScript_20384F:: @ 820384F
msgbox PacifidlogTown_House2_Text_203A2F, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
giveitem_std ITEM_TM21
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq PacifidlogTown_House2_EventScript_272054
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_FANCLUB_TM_THIS_WEEK
special SetPacifidlogTMReceivedDay
msgbox PacifidlogTown_House2_Text_203A85, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_EventScript_20387E:: @ 820387E
specialvar VAR_RESULT, GetDaysUntilPacifidlogTMAvailable
2017-11-10 02:21:31 +01:00
buffernumberstring 0, VAR_RESULT
msgbox PacifidlogTown_House2_Text_203AF4, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_EventScript_203891:: @ 8203891
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 0
msgbox PacifidlogTown_House2_Text_203B8D, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
msgbox PacifidlogTown_House2_Text_203B9D, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_EventScript_2038AC:: @ 82038AC
lock
faceplayer
waitse
playmoncry SPECIES_AZURILL, 2
msgbox PacifidlogTown_House2_Text_203BCE, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
msgbox PacifidlogTown_House2_Text_203BDF, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
PacifidlogTown_House2_Text_2038C7: @ 82038C7
.string "Er-hem!\p"
2018-12-07 16:41:08 +01:00
.string "I am the POKéMON FAN CLUB's most\n"
.string "important person, the CHAIRMAN's\l"
2017-11-10 02:21:31 +01:00
.string "younger brother.\p"
2018-12-07 16:41:08 +01:00
.string "I'm here enjoying my vacation with\n"
2017-11-10 02:21:31 +01:00
.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"
2018-12-07 16:41:08 +01:00
.string "It's not bad, but it's also not good.\p"
2017-11-10 02:21:31 +01:00
.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
2018-12-07 16:41:08 +01:00
.string "If a POKéMON likes you a lot, RETURN's\n"
2017-11-10 02:21:31 +01:00
.string "power is enhanced.\p"
2018-12-07 16:41:08 +01:00
.string "If it doesn't like you, FRUSTRATION's\n"
2017-11-10 02:21:31 +01:00
.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"
2018-12-07 16:41:08 +01:00
.string "I'll give you a TM that's suitable for\l"
2017-11-10 02:21:31 +01:00
.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
2018-12-07 16:41:08 +01:00
.string "It doesn't appear to like the TRAINER\n"
2017-11-10 02:21:31 +01:00
.string "very much.$"