pokeemerald/data/maps/EverGrandeCity_PhoebesRoom/scripts.inc

86 lines
2.8 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
EverGrandeCity_PhoebesRoom_MapScripts:: @ 8228174
map_script 1, EverGrandeCity_PhoebesRoom_MapScript1_2281AA
map_script 4, EverGrandeCity_PhoebesRoom_MapScript2_228184
map_script 2, EverGrandeCity_PhoebesRoom_MapScript2_228193
.byte 0
EverGrandeCity_PhoebesRoom_MapScript2_228184: @ 8228184
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_PhoebesRoom_EventScript_22818E
2017-11-10 02:21:31 +01:00
.2byte 0
EverGrandeCity_PhoebesRoom_EventScript_22818E:: @ 822818E
turnobject EVENT_OBJ_ID_PLAYER, 2
2017-11-10 02:21:31 +01:00
end
EverGrandeCity_PhoebesRoom_MapScript2_228193: @ 8228193
map_script_2 VAR_0x409C, 1, EverGrandeCity_PhoebesRoom_EventScript_22819D
.2byte 0
EverGrandeCity_PhoebesRoom_EventScript_22819D:: @ 822819D
lockall
call EverGrandeCity_PhoebesRoom_EventScript_272475
setvar VAR_0x409C, 2
releaseall
end
EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA
2019-01-02 22:12:43 +01:00
call_if_set FLAG_DEFEATED_ELITE_4_PHOEBE, EverGrandeCity_PhoebesRoom_EventScript_2281BF
compare VAR_0x409C, 2
2018-12-22 03:32:45 +01:00
call_if_eq EverGrandeCity_PhoebesRoom_EventScript_2281C5
2017-11-10 02:21:31 +01:00
end
EverGrandeCity_PhoebesRoom_EventScript_2281BF:: @ 82281BF
call EverGrandeCity_PhoebesRoom_EventScript_2724BC
return
EverGrandeCity_PhoebesRoom_EventScript_2281C5:: @ 82281C5
call EverGrandeCity_PhoebesRoom_EventScript_27255F
return
EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB
lock
faceplayer
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_DEFEATED_ELITE_4_PHOEBE, EverGrandeCity_PhoebesRoom_EventScript_2281F2
2017-12-22 08:46:19 +01:00
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_PhoebesRoom_Text_22820E, MSGBOX_DEFAULT
trainerbattle_no_intro TRAINER_PHOEBE, EverGrandeCity_PhoebesRoom_Text_228325
2017-11-10 02:21:31 +01:00
goto EverGrandeCity_PhoebesRoom_EventScript_2281FC
end
EverGrandeCity_PhoebesRoom_EventScript_2281F2:: @ 82281F2
msgbox EverGrandeCity_PhoebesRoom_Text_228343, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
EverGrandeCity_PhoebesRoom_EventScript_2281FC:: @ 82281FC
2019-01-02 22:12:43 +01:00
setflag FLAG_DEFEATED_ELITE_4_PHOEBE
2017-11-10 02:21:31 +01:00
call EverGrandeCity_PhoebesRoom_EventScript_2723F8
msgbox EverGrandeCity_PhoebesRoom_Text_228343, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
EverGrandeCity_PhoebesRoom_Text_22820E: @ 822820E
.string "Ahahaha!\p"
2018-12-07 16:41:08 +01:00
.string "I'm PHOEBE of the ELITE FOUR.\n"
2017-11-10 02:21:31 +01:00
.string "I did my training on MT. PYRE.\p"
.string "While I trained, I gained the ability\n"
.string "to commune with GHOST-type POKéMON.\p"
.string "Yes, the bond I developed with POKéMON\n"
.string "is extremely tight.\p"
.string "So, come on, just try and see if you can\n"
.string "even inflict damage on my POKéMON!$"
EverGrandeCity_PhoebesRoom_Text_228325: @ 8228325
.string "Oh, darn.\n"
2018-12-07 16:41:08 +01:00
.string "I've gone and lost.$"
2017-11-10 02:21:31 +01:00
EverGrandeCity_PhoebesRoom_Text_228343: @ 8228343
2018-12-07 16:41:08 +01:00
.string "There's a definite bond between you\n"
2017-11-10 02:21:31 +01:00
.string "and your POKéMON, too.\p"
2018-12-07 16:41:08 +01:00
.string "I didn't recognize it, so it's only\n"
2017-11-10 02:21:31 +01:00
.string "natural that I lost.\p"
2018-12-07 16:41:08 +01:00
.string "Yup, I'd like to see how far your bond\n"
2017-11-10 02:21:31 +01:00
.string "will carry you.\p"
.string "Go ahead, move on to the next room.$"