pokeemerald/data/maps/LilycoveCity_DepartmentStore_5F/scripts.inc

174 lines
5.0 KiB
PHP
Raw Normal View History

.set LOCALID_WOMAN, 7
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_MapScripts::
2019-11-04 22:41:42 +01:00
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, LilycoveCity_DepartmentStore_5F_OnWarp
2017-11-10 02:21:31 +01:00
.byte 0
2019-12-02 01:19:47 +01:00
@ During the abnormal weather from Kyogre/Groudon awakening the dept store rooftop is inaccessible
2019-11-04 22:41:42 +01:00
@ Likely done to avoid dealing with showing the weather. Technically the rooftop is indoors
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_OnWarp:
2019-11-04 22:41:42 +01:00
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 1, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 2, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
map_script_2 VAR_SOOTOPOLIS_CITY_STATE, 3, LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs
2017-11-10 02:21:31 +01:00
.2byte 0
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_BlockRoofStairs::
setobjectxy LOCALID_WOMAN, 16, 2
turnobject LOCALID_WOMAN, DIR_NORTH
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarLeft::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-08-15 05:38:42 +02:00
message gText_HowMayIServeYou
2017-11-10 02:21:31 +01:00
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Dolls
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
.align 2
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Pokemart_Dolls:
.2byte DECOR_PICHU_DOLL
.2byte DECOR_PIKACHU_DOLL
.2byte DECOR_MARILL_DOLL
.2byte DECOR_JIGGLYPUFF_DOLL
.2byte DECOR_DUSKULL_DOLL
.2byte DECOR_WYNAUT_DOLL
.2byte DECOR_BALTOY_DOLL
.2byte DECOR_KECLEON_DOLL
.2byte DECOR_AZURILL_DOLL
.2byte DECOR_SKITTY_DOLL
.2byte DECOR_SWABLU_DOLL
.2byte DECOR_GULPIN_DOLL
.2byte DECOR_NONE
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidLeft::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-08-15 05:38:42 +02:00
message gText_HowMayIServeYou
2017-11-10 02:21:31 +01:00
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Cushions
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
.align 2
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Pokemart_Cushions:
.2byte DECOR_PIKA_CUSHION
.2byte DECOR_ROUND_CUSHION
.2byte DECOR_ZIGZAG_CUSHION
.2byte DECOR_SPIN_CUSHION
.2byte DECOR_DIAMOND_CUSHION
.2byte DECOR_BALL_CUSHION
.2byte DECOR_GRASS_CUSHION
.2byte DECOR_FIRE_CUSHION
.2byte DECOR_WATER_CUSHION
.2byte DECOR_NONE
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidRight::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-08-15 05:38:42 +02:00
message gText_HowMayIServeYou
2017-11-10 02:21:31 +01:00
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Posters
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
.align 2
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Pokemart_Posters:
.2byte DECOR_BALL_POSTER
.2byte DECOR_GREEN_POSTER
.2byte DECOR_RED_POSTER
.2byte DECOR_BLUE_POSTER
.2byte DECOR_CUTE_POSTER
.2byte DECOR_PIKA_POSTER
.2byte DECOR_LONG_POSTER
.2byte DECOR_SEA_POSTER
.2byte DECOR_SKY_POSTER
.2byte DECOR_NONE
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarRight::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-08-15 05:38:42 +02:00
message gText_HowMayIServeYou
2017-11-10 02:21:31 +01:00
waitmessage
pokemartdecoration2 LilycoveCity_DepartmentStore_5F_Pokemart_Mats
2019-08-15 05:38:42 +02:00
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
.align 2
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Pokemart_Mats:
.2byte DECOR_SURF_MAT
.2byte DECOR_THUNDER_MAT
.2byte DECOR_FIRE_BLAST_MAT
.2byte DECOR_POWDER_SNOW_MAT
.2byte DECOR_ATTRACT_MAT
.2byte DECOR_FISSURE_MAT
.2byte DECOR_SPIKES_MAT
.2byte DECOR_GLITTER_MAT
.2byte DECOR_JUMP_MAT
.2byte DECOR_SPIN_MAT
.2byte DECOR_NONE
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_PokefanF::
2019-11-04 22:41:42 +01:00
msgbox LilycoveCity_DepartmentStore_5F_Text_PlaceFullOfCuteDolls, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_Woman::
2017-11-10 02:21:31 +01:00
lockall
applymovement LOCALID_WOMAN, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-08-05 17:23:45 +02:00
compare VAR_SOOTOPOLIS_CITY_STATE, 0
2019-11-04 22:41:42 +01:00
goto_if_eq LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal
2019-08-05 17:23:45 +02:00
compare VAR_SOOTOPOLIS_CITY_STATE, 4
2019-11-04 22:41:42 +01:00
goto_if_ge LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal
goto LilycoveCity_DepartmentStore_5F_EventScript_WomanLegendaryWeather
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_WomanNormal::
2019-11-04 22:41:42 +01:00
msgbox LilycoveCity_DepartmentStore_5F_Text_SellManyCuteMatsHere, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_WomanLegendaryWeather::
2019-11-04 22:41:42 +01:00
msgbox LilycoveCity_DepartmentStore_5F_Text_ClosedRooftopForWeather, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement LOCALID_WOMAN, Common_Movement_WalkInPlaceFastestUp
2017-11-10 02:21:31 +01:00
waitmovement 0
releaseall
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_EventScript_LittleGirl::
2019-11-04 22:41:42 +01:00
msgbox LilycoveCity_DepartmentStore_5F_Text_GettingDollInsteadOfPokemon, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Text_PlaceFullOfCuteDolls:
2017-11-10 02:21:31 +01:00
.string "This place is full of cute DOLLS.\p"
.string "I should buy some for me, instead of\n"
.string "just for my children.$"
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Text_GettingDollInsteadOfPokemon:
2018-12-07 16:41:08 +01:00
.string "I'm not big enough to raise POKéMON,\n"
.string "so I'm getting a cute DOLL instead.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Text_SellManyCuteMatsHere:
2017-11-10 02:21:31 +01:00
.string "They sell many cute MATS here.\p"
.string "I wonder which one I should get?\n"
2018-12-07 16:41:08 +01:00
.string "Maybe I'll buy them all…$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
LilycoveCity_DepartmentStore_5F_Text_ClosedRooftopForWeather:
2017-11-10 02:21:31 +01:00
.string "I think they closed the rooftop\n"
.string "because the weather is wild today.$"