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
+4 -4
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "PokemonMansion_3F_EventScript_1622CE",
"script": "PokemonMansion_3F_EventScript_Simon",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "PokemonMansion_3F_EventScript_1622E5",
"script": "PokemonMansion_3F_EventScript_Braydon",
"flag": "0"
},
{
@@ -131,14 +131,14 @@
"x": 8,
"y": 16,
"elevation": 0,
"script": "PokemonMansion_3F_EventScript_1622C5"
"script": "PokemonMansion_3F_EventScript_DiaryFeb6th"
},
{
"type": "bg_event_type_1",
"x": 12,
"y": 5,
"elevation": 0,
"script": "PokemonMansion_3F_EventScript_1622B1"
"script": "PokemonMansion_3F_EventScript_Statue"
},
{
"type": "hidden_item",
+11 -11
View File
@@ -3,29 +3,29 @@ PokemonMansion_3F_MapScripts:: @ 81622A1
.byte 0
PokemonMansion_3F_OnLoad:: @ 81622A7
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, EventScript_1A7E72
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, PokemonMansion_EventScript_PressSwitch_3F
end
PokemonMansion_3F_EventScript_1622B1:: @ 81622B1
PokemonMansion_3F_EventScript_Statue:: @ 81622B1
lockall
setvar VAR_0x8004, 2
call EventScript_1A7AE2
call PokemonMansion_EventScript_SecretSwitch
playse SE_KI_GASYAN
special DrawWholeMapView
waitse
releaseall
end
PokemonMansion_3F_EventScript_1622C5:: @ 81622C5
msgbox gUnknown_8177685, MSGBOX_SIGN
PokemonMansion_3F_EventScript_DiaryFeb6th:: @ 81622C5
msgbox PokemonMansion_1F_Text_MewGaveBirthToMewtwo, MSGBOX_SIGN
end
PokemonMansion_3F_EventScript_1622CE:: @ 81622CE
trainerbattle_single TRAINER_BURGLAR_SIMON, Text_1775E7, Text_177602
msgbox gUnknown_8177608, MSGBOX_AUTOCLOSE
PokemonMansion_3F_EventScript_Simon:: @ 81622CE
trainerbattle_single TRAINER_BURGLAR_SIMON, PokemonMansion_1F_Text_SimonIntro, PokemonMansion_1F_Text_SimonDefeat
msgbox PokemonMansion_1F_Text_SimonPostBattle, MSGBOX_AUTOCLOSE
end
PokemonMansion_3F_EventScript_1622E5:: @ 81622E5
trainerbattle_single TRAINER_SCIENTIST_BRAYDON, Text_177628, Text_177643
msgbox gUnknown_8177657, MSGBOX_AUTOCLOSE
PokemonMansion_3F_EventScript_Braydon:: @ 81622E5
trainerbattle_single TRAINER_SCIENTIST_BRAYDON, PokemonMansion_1F_Text_BraydonIntro, PokemonMansion_1F_Text_BraydonDefeat
msgbox PokemonMansion_1F_Text_BraydonPostBattle, MSGBOX_AUTOCLOSE
end
+10 -10
View File
@@ -1,34 +1,34 @@
Text_1775B4:: @ 81775B4
PokemonMansion_Text_PressSecretSwitchJP:: @ 81775B4
.string "ひみつの スイッチが ある!\p"
.string "おして みますか?$"
Text_1775CD:: @ 81775CD
PokemonMansion_Text_LetsTryIt:: @ 81775CD
.string "おしてみよう! ‥ポチッとな$"
Text_1775DC:: @ 81775DC
PokemonMansion_1F_Text_1775DC:: @ 81775DC
.string "ÈÒçè ÀÊúòŒ$"
Text_1775E7:: @ 81775E7
PokemonMansion_1F_Text_SimonIntro:: @ 81775E7
.string "This place is, like, huge!$"
Text_177602:: @ 8177602
PokemonMansion_1F_Text_SimonDefeat:: @ 8177602
.string "Ayah!$"
gUnknown_8177608:: @ 8177608
PokemonMansion_1F_Text_SimonPostBattle:: @ 8177608
.string "I wonder where my partner went.$"
Text_177628:: @ 8177628
PokemonMansion_1F_Text_BraydonIntro:: @ 8177628
.string "My mentor once lived here.$"
Text_177643:: @ 8177643
PokemonMansion_1F_Text_BraydonDefeat:: @ 8177643
.string "Whew!\n"
.string "Overwhelming!$"
gUnknown_8177657:: @ 8177657
PokemonMansion_1F_Text_BraydonPostBattle:: @ 8177657
.string "So, you're stuck?\n"
.string "Try jumping off over there!$"
gUnknown_8177685:: @ 8177685
PokemonMansion_1F_Text_MewGaveBirthToMewtwo:: @ 8177685
.string "Diary: Feb. 6\n"
.string "MEW gave birth.\p"
.string "We named the newborn MEWTWO.$"