mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
79 lines
2.0 KiB
PHP
79 lines
2.0 KiB
PHP
SootopolisCity_MysteryEventsHouse_B1F_MapScripts:: @ 8227E4F
|
|
map_script 3, SootopolisCity_MysteryEventsHouse_B1F_MapScript1_227E5A
|
|
map_script 2, SootopolisCity_MysteryEventsHouse_B1F_MapScript2_227E5E
|
|
.byte 0
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_MapScript1_227E5A: @ 8227E5A
|
|
special sub_8162794
|
|
end
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_MapScript2_227E5E: @ 8227E5E
|
|
map_script_2 VAR_0x4001, 0, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68
|
|
.2byte 0
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227E68:: @ 8227E68
|
|
lockall
|
|
applymovement 255, SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF3
|
|
waitmovement 0
|
|
special sub_8165360
|
|
msgbox 0x2021fc4, 4
|
|
closemessage
|
|
setvar VAR_0x8004, 2
|
|
setvar VAR_0x8005, 0
|
|
special sub_8163AC4
|
|
waitstate
|
|
compare VAR_RESULT, 3
|
|
call_if 1, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227ECF
|
|
compare VAR_RESULT, 1
|
|
call_if 1, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EDD
|
|
compare VAR_RESULT, 2
|
|
call_if 1, SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EE8
|
|
closemessage
|
|
special HealPlayerParty
|
|
applymovement 255, SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF9
|
|
waitmovement 0
|
|
special copy_player_party_from_sav1
|
|
setvar VAR_0x4001, 1
|
|
warp SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F, 255, 3, 1
|
|
waitstate
|
|
releaseall
|
|
end
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227ECF:: @ 8227ECF
|
|
setvar VAR_0x40C0, 3
|
|
msgbox SootopolisCity_MysteryEventsHouse_B1F_Text_227D40, 4
|
|
return
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EDD:: @ 8227EDD
|
|
setvar VAR_0x40C0, 1
|
|
special sub_8138AC0
|
|
waitmessage
|
|
waitbuttonpress
|
|
return
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_EventScript_227EE8:: @ 8227EE8
|
|
setvar VAR_0x40C0, 2
|
|
special sub_8138AC0
|
|
waitmessage
|
|
waitbuttonpress
|
|
return
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF3: @ 8227EF3
|
|
step_down
|
|
step_down
|
|
step_down
|
|
step_right
|
|
step_right
|
|
step_end
|
|
|
|
SootopolisCity_MysteryEventsHouse_B1F_Movement_227EF9: @ 8227EF9
|
|
step_left
|
|
step_left
|
|
step_up
|
|
step_up
|
|
step_up
|
|
step_up
|
|
step_13
|
|
step_end
|
|
|