Document Pokemon Mansion scripts

This commit is contained in:
GriffinR
2020-01-14 18:58:52 -05:00
parent 8c560386ed
commit 0999b55beb
15 changed files with 306 additions and 268 deletions
+9 -9
View File
@@ -4,29 +4,29 @@ PokemonMansion_1F_MapScripts:: @ 81621F9
.byte 0
PokemonMansion_1F_OnLoad:: @ 8162204
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, EventScript_1A7B7A
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, PokemonMansion_EventScript_PressSwitch_1F
end
PokemonMansion_1F_OnTransition:: @ 816220E
setworldmapflag FLAG_WORLD_MAP_POKEMON_MANSION_1F
end
PokemonMansion_1F_EventScript_162212:: @ 8162212
PokemonMansion_1F_EventScript_Statue:: @ 8162212
lockall
setvar VAR_0x8004, 0
call EventScript_1A7AE2
call PokemonMansion_EventScript_SecretSwitch
playse SE_KI_GASYAN
special DrawWholeMapView
waitse
releaseall
end
PokemonMansion_1F_EventScript_162226:: @ 8162226
trainerbattle_single TRAINER_SCIENTIST_TED, Text_177364, Text_177391
msgbox gUnknown_8177397, MSGBOX_AUTOCLOSE
PokemonMansion_1F_EventScript_Ted:: @ 8162226
trainerbattle_single TRAINER_SCIENTIST_TED, PokemonMansion_1F_Text_TedIntro, PokemonMansion_1F_Text_TedDefeat
msgbox PokemonMansion_1F_Text_TedPostBattle, MSGBOX_AUTOCLOSE
end
PokemonMansion_1F_EventScript_16223D:: @ 816223D
trainerbattle_single TRAINER_YOUNGSTER_JOHNSON, Text_1773C6, Text_1773FD
msgbox gUnknown_8177418, MSGBOX_AUTOCLOSE
PokemonMansion_1F_EventScript_Johnson:: @ 816223D
trainerbattle_single TRAINER_YOUNGSTER_JOHNSON, PokemonMansion_1F_Text_JohnsonIntro, PokemonMansion_1F_Text_JohnsonDefeat
msgbox PokemonMansion_1F_Text_JohnsonPostBattle, MSGBOX_AUTOCLOSE
end