Document Five Island scripts

This commit is contained in:
GriffinR
2020-02-28 00:22:34 -05:00
parent 43f66fce55
commit 7d7c51973c
45 changed files with 450 additions and 432 deletions
+4 -4
View File
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_Meadow_EventScript_1689BB",
"script": "FiveIsland_Meadow_EventScript_Rocket3",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "FiveIsland_Meadow_EventScript_16898D",
"script": "FiveIsland_Meadow_EventScript_Rocket1",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_Meadow_EventScript_1689A4",
"script": "FiveIsland_Meadow_EventScript_Rocket2",
"flag": "FLAG_HIDE_FIVE_ISLAND_ROCKETS"
},
{
@@ -134,7 +134,7 @@
"x": 12,
"y": 21,
"elevation": 0,
"script": "FiveIsland_Meadow_EventScript_168942"
"script": "FiveIsland_Meadow_EventScript_WarehouseDoor"
}
]
}
+21 -21
View File
@@ -3,49 +3,49 @@ FiveIsland_Meadow_MapScripts:: @ 8168932
.byte 0
FiveIsland_Meadow_OnLoad:: @ 8168938
call_if_set FLAG_UNLOCKED_ROCKET_WAREHOUSE, EventScript_168983
call_if_set FLAG_UNLOCKED_ROCKET_WAREHOUSE, FiveIsland_Meadow_EventScript_SetWarehouseDoorUnlocked
end
FiveIsland_Meadow_EventScript_168942:: @ 8168942
FiveIsland_Meadow_EventScript_WarehouseDoor:: @ 8168942
lockall
goto_if_set FLAG_UNLOCKED_ROCKET_WAREHOUSE, EventScript_168979
goto_if_set FLAG_LEARNED_YES_NAH_CHANSEY, EventScript_16895F
msgbox gUnknown_818AB8E
goto_if_set FLAG_UNLOCKED_ROCKET_WAREHOUSE, FiveIsland_Meadow_EventScript_WarehouseDoorAlreadyOpen
goto_if_set FLAG_LEARNED_YES_NAH_CHANSEY, FiveIsland_Meadow_EventScript_OpenWarehouseDoor
msgbox FiveIsland_Meadow_Text_EnteredPasswordAnotherNeeded
releaseall
end
EventScript_16895F:: @ 816895F
FiveIsland_Meadow_EventScript_OpenWarehouseDoor:: @ 816895F
setflag FLAG_UNLOCKED_ROCKET_WAREHOUSE
message Text_18ABF4
message FiveIsland_Meadow_Text_EnteredPasswordDoorOpened
waitmessage
delay 60
call EventScript_168983
call FiveIsland_Meadow_EventScript_SetWarehouseDoorUnlocked
special DrawWholeMapView
playse SE_PIN
waitse
releaseall
end
EventScript_168979:: @ 8168979
msgbox gUnknown_818AC62
FiveIsland_Meadow_EventScript_WarehouseDoorAlreadyOpen:: @ 8168979
msgbox FiveIsland_Meadow_Text_WarehouseDoorAlreadyOpen
releaseall
end
EventScript_168983:: @ 8168983
setmetatile 12, 21, 687, 1
FiveIsland_Meadow_EventScript_SetWarehouseDoorUnlocked:: @ 8168983
setmetatile 12, 21, METATILE_SeviiIslands45_RocketWarehouseDoor_Unlocked, 1
return
FiveIsland_Meadow_EventScript_16898D:: @ 816898D
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_49, Text_18AC88, Text_18ACB3
msgbox gUnknown_818ACC5, MSGBOX_AUTOCLOSE
FiveIsland_Meadow_EventScript_Rocket1:: @ 816898D
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_49, FiveIsland_Meadow_Text_Rocket1Intro, FiveIsland_Meadow_Text_Rocket1Defeat
msgbox FiveIsland_Meadow_Text_Rocket1PostBattle, MSGBOX_AUTOCLOSE
end
FiveIsland_Meadow_EventScript_1689A4:: @ 81689A4
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_50, Text_18ACF0, Text_18AD39
msgbox gUnknown_818AD59, MSGBOX_AUTOCLOSE
FiveIsland_Meadow_EventScript_Rocket2:: @ 81689A4
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_50, FiveIsland_Meadow_Text_Rocket2Intro, FiveIsland_Meadow_Text_Rocket2Defeat
msgbox FiveIsland_Meadow_Text_Rocket2PostBattle, MSGBOX_AUTOCLOSE
end
FiveIsland_Meadow_EventScript_1689BB:: @ 81689BB
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_51, Text_18ADC6, Text_18ADFB
msgbox gUnknown_818AE16, MSGBOX_AUTOCLOSE
FiveIsland_Meadow_EventScript_Rocket3:: @ 81689BB
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_51, FiveIsland_Meadow_Text_Rocket3Intro, FiveIsland_Meadow_Text_Rocket3Defeat
msgbox FiveIsland_Meadow_Text_Rocket3PostBattle, MSGBOX_AUTOCLOSE
end
+14 -25
View File
@@ -1,70 +1,59 @@
Text_18AAD5:: @ 818AAD5
.string "This is an excellent environment\n"
.string "for raising POKéMON.$"
Text_18AB0B:: @ 818AB0B
.string "Your POKéMON are growing up\n"
.string "admirably well!$"
Text_18AB37:: @ 818AB37
.string "You know, I think you have the\n"
.string "talent to be a good BREEDER.$"
Text_18AB73:: @ 818AB73
@ Unused
FiveIsland_Meadow_Text_DoorNeedsTwoPasswords:: @ 818AB73
.string "とびらを あけるには\n"
.string "パスワードが 2つ いるようだ$"
gUnknown_818AB8E:: @ 818AB8E
FiveIsland_Meadow_Text_EnteredPasswordAnotherNeeded:: @ 818AB8E
.string "{PLAYER} entered a password.\p"
.string "“GOLDEEN need log.”\p"
.string "… … … … … …\p"
.string "Another password is needed to\n"
.string "open the door…$"
Text_18ABF4:: @ 818ABF4
FiveIsland_Meadow_Text_EnteredPasswordDoorOpened:: @ 818ABF4
.string "{PLAYER} entered two passwords.\p"
.string "“GOLDEEN need log.”\n"
.string "“Yes, nah, CHANSEY.”\p"
.string "… … … … … …\p"
.string "The WAREHOUSE's door opened!$"
gUnknown_818AC62:: @ 818AC62
FiveIsland_Meadow_Text_WarehouseDoorAlreadyOpen:: @ 818AC62
.string "The WAREHOUSE's door is already\n"
.string "open.$"
Text_18AC88:: @ 818AC88
FiveIsland_Meadow_Text_Rocket1Intro:: @ 818AC88
.string "This area's strictly off-limits!\n"
.string "Out, out!$"
Text_18ACB3:: @ 818ACB3
FiveIsland_Meadow_Text_Rocket1Defeat:: @ 818ACB3
.string "Is this for real?$"
gUnknown_818ACC5:: @ 818ACC5
FiveIsland_Meadow_Text_Rocket1PostBattle:: @ 818ACC5
.string "You don't have any business here!\n"
.string "Go home!$"
Text_18ACF0:: @ 818ACF0
FiveIsland_Meadow_Text_Rocket2Intro:: @ 818ACF0
.string "There's nothing past here except\n"
.string "our WAREHOUSE.\p"
.string "So what brings you here?$"
Text_18AD39:: @ 818AD39
FiveIsland_Meadow_Text_Rocket2Defeat:: @ 818AD39
.string "That wasn't supposed to happen…$"
gUnknown_818AD59:: @ 818AD59
FiveIsland_Meadow_Text_Rocket2PostBattle:: @ 818AD59
.string "You're wanting to know what's inside\n"
.string "this WAREHOUSE?\p"
.string "It's better you didn't know.\n"
.string "For your own sake, I mean.$"
Text_18ADC6:: @ 818ADC6
FiveIsland_Meadow_Text_Rocket3Intro:: @ 818ADC6
.string "You'd be wasting time even if you\n"
.string "were to get by me.$"
Text_18ADFB:: @ 818ADFB
FiveIsland_Meadow_Text_Rocket3Defeat:: @ 818ADFB
.string "Oh, that makes me furious!$"
gUnknown_818AE16:: @ 818AE16
FiveIsland_Meadow_Text_Rocket3PostBattle:: @ 818AE16
.string "You won't be able to get in without\n"
.string "the passwords anyway.$"