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_2F_EventScript_16228A",
"script": "PokemonMansion_2F_EventScript_Arnie",
"flag": "0"
},
{
@@ -110,21 +110,21 @@
"x": 2,
"y": 16,
"elevation": 0,
"script": "PokemonMansion_2F_EventScript_162264"
"script": "PokemonMansion_2F_EventScript_Statue"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 31,
"elevation": 0,
"script": "PokemonMansion_2F_EventScript_162281"
"script": "PokemonMansion_2F_EventScript_DiaryJuly10th"
},
{
"type": "bg_event_type_0",
"x": 25,
"y": 4,
"elevation": 0,
"script": "PokemonMansion_2F_EventScript_162278"
"script": "PokemonMansion_2F_EventScript_DiaryJuly5th"
}
]
}
+10 -10
View File
@@ -3,28 +3,28 @@ PokemonMansion_2F_MapScripts:: @ 8162254
.byte 0
PokemonMansion_2F_OnLoad:: @ 816225A
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, EventScript_1A7D3E
call_if_set FLAG_POKEMON_MANSION_SWITCH_STATE, PokemonMansion_EventScript_PressSwitch_2F
end
PokemonMansion_2F_EventScript_162264:: @ 8162264
PokemonMansion_2F_EventScript_Statue:: @ 8162264
lockall
setvar VAR_0x8004, 1
call EventScript_1A7AE2
call PokemonMansion_EventScript_SecretSwitch
playse SE_KI_GASYAN
special DrawWholeMapView
waitse
releaseall
end
PokemonMansion_2F_EventScript_162278:: @ 8162278
msgbox gUnknown_817751F, MSGBOX_SIGN
PokemonMansion_2F_EventScript_DiaryJuly5th:: @ 8162278
msgbox PokemonMansion_1F_Text_NewMonDiscoveredInGuyanaJungle, MSGBOX_SIGN
end
PokemonMansion_2F_EventScript_162281:: @ 8162281
msgbox gUnknown_8177574, MSGBOX_SIGN
PokemonMansion_2F_EventScript_DiaryJuly10th:: @ 8162281
msgbox PokemonMansion_1F_Text_ChristenedDiscoveredMonMew, MSGBOX_SIGN
end
PokemonMansion_2F_EventScript_16228A:: @ 816228A
trainerbattle_single TRAINER_BURGLAR_ARNIE, Text_177498, Text_1774CB
msgbox gUnknown_81774E3, MSGBOX_AUTOCLOSE
PokemonMansion_2F_EventScript_Arnie:: @ 816228A
trainerbattle_single TRAINER_BURGLAR_ARNIE, PokemonMansion_1F_Text_ArnieIntro, PokemonMansion_1F_Text_ArnieDefeat
msgbox PokemonMansion_1F_Text_ArniePostBattle, MSGBOX_AUTOCLOSE
end
+8 -8
View File
@@ -1,32 +1,32 @@
Text_177460:: @ 8177460
PokemonMansion_Text_PressSecretSwitch:: @ 8177460
.string "A secret switch!\p"
.string "Press it?$"
Text_17747B:: @ 817747B
PokemonMansion_Text_WhoWouldnt:: @ 817747B
.string "Who wouldn't?$"
Text_177489:: @ 8177489
PokemonMansion_Text_NotQuiteYet:: @ 8177489
.string "Not quite yet!$"
Text_177498:: @ 8177498
PokemonMansion_1F_Text_ArnieIntro:: @ 8177498
.string "I can't get out!\n"
.string "This old place is one big puzzle.$"
Text_1774CB:: @ 81774CB
PokemonMansion_1F_Text_ArnieDefeat:: @ 81774CB
.string "Oh, no!\n"
.string "My bag of loot!$"
gUnknown_81774E3:: @ 81774E3
PokemonMansion_1F_Text_ArniePostBattle:: @ 81774E3
.string "The switches here open and close\n"
.string "alternating sets of doors.$"
gUnknown_817751F:: @ 817751F
PokemonMansion_1F_Text_NewMonDiscoveredInGuyanaJungle:: @ 817751F
.string "Diary: July 5\n"
.string "Guyana, South America\p"
.string "A new POKéMON was discovered deep\n"
.string "in the jungle.$"
gUnknown_8177574:: @ 8177574
PokemonMansion_1F_Text_ChristenedDiscoveredMonMew:: @ 8177574
.string "Diary: July 10\n"
.string "We christened the newly discovered\l"
.string "POKéMON, MEW.$"