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
+5 -5
View File
@@ -31,7 +31,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_MemorialPillar_EventScript_1689D3",
"script": "FiveIsland_MemorialPillar_EventScript_MemorialMan",
"flag": "0"
},
{
@@ -44,7 +44,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_MemorialPillar_EventScript_1AC317",
"script": "FiveIsland_MemorialPillar_EventScript_Milo",
"flag": "0"
},
{
@@ -57,7 +57,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "FiveIsland_MemorialPillar_EventScript_1AC355",
"script": "FiveIsland_MemorialPillar_EventScript_Chaz",
"flag": "0"
},
{
@@ -70,7 +70,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_MemorialPillar_EventScript_1AC393",
"script": "FiveIsland_MemorialPillar_EventScript_Harold",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"x": 9,
"y": 43,
"elevation": 0,
"script": "FiveIsland_MemorialPillar_EventScript_168A48"
"script": "FiveIsland_MemorialPillar_EventScript_Memorial"
},
{
"type": "hidden_item",
+33 -33
View File
@@ -1,59 +1,59 @@
FiveIsland_MemorialPillar_MapScripts:: @ 81689D2
.byte 0
FiveIsland_MemorialPillar_EventScript_1689D3:: @ 81689D3
FiveIsland_MemorialPillar_EventScript_MemorialMan:: @ 81689D3
lock
goto_if_set FLAG_GOT_TM42_AT_MEMORIAL_PILLAR, EventScript_168A18
goto_if_set FLAG_NO_ROOM_FOR_TM42_AT_MEMORIAL_PILLAR, EventScript_168A22
msgbox gUnknown_818B02E
goto_if_set FLAG_GOT_TM42_AT_MEMORIAL_PILLAR, FiveIsland_MemorialPillar_EventScript_AlreadyGotTM42
goto_if_set FLAG_NO_ROOM_FOR_TM42_AT_MEMORIAL_PILLAR, FiveIsland_MemorialPillar_EventScript_ReturnedForTM42
msgbox FiveIsland_MemorialPillar_Text_ScrubScrub
closemessage
applymovement 1, Movement_FacePlayer
waitmovement 0
delay 45
msgbox gUnknown_818B03C
msgbox FiveIsland_MemorialPillar_Text_YourMonsLookHealthy
applymovement 1, Movement_WalkInPlaceFastestUp
waitmovement 0
msgbox gUnknown_818B05E
msgbox FiveIsland_MemorialPillar_Text_ThisIsWhereIBuriedMyOnix
release
end
EventScript_168A18:: @ 8168A18
msgbox gUnknown_818B2DA
FiveIsland_MemorialPillar_EventScript_AlreadyGotTM42:: @ 8168A18
msgbox FiveIsland_MemorialPillar_Text_ScrubScrubTectonix
release
end
EventScript_168A22:: @ 8168A22
msgbox gUnknown_818B282
FiveIsland_MemorialPillar_EventScript_ReturnedForTM42:: @ 8168A22
msgbox FiveIsland_MemorialPillar_Text_StillHaveThingAsMyThanks
giveitem ITEM_TM42
compare VAR_RESULT, 0
goto_if_eq EventScript_168AFE
call EventScript_168AE8
compare VAR_RESULT, FALSE
goto_if_eq FiveIsland_MemorialPillar_EventScript_NoRoomForTM42
call FiveIsland_MemorialPillar_EventScript_ReceivedTM42
release
end
FiveIsland_MemorialPillar_EventScript_168A48:: @ 8168A48
FiveIsland_MemorialPillar_EventScript_Memorial:: @ 8168A48
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
lockall
goto_if_set FLAG_GOT_TM42_AT_MEMORIAL_PILLAR, EventScript_168B0B
goto_if_set FLAG_NO_ROOM_FOR_TM42_AT_MEMORIAL_PILLAR, EventScript_168B0B
msgbox gUnknown_818B095
goto_if_set FLAG_GOT_TM42_AT_MEMORIAL_PILLAR, FiveIsland_MemorialPillar_EventScript_MemorialLemonadeAlreadyPlaced
goto_if_set FLAG_NO_ROOM_FOR_TM42_AT_MEMORIAL_PILLAR, FiveIsland_MemorialPillar_EventScript_MemorialLemonadeAlreadyPlaced
msgbox FiveIsland_MemorialPillar_Text_HereLiesTectonixLemonadeOffering
checkitem ITEM_LEMONADE, 1
compare VAR_RESULT, TRUE
goto_if_eq EventScript_168A86
goto_if_eq FiveIsland_MemorialPillar_EventScript_AskPlaceLemonade
releaseall
end
EventScript_168A86:: @ 8168A86
msgbox gUnknown_818B105, MSGBOX_YESNO
FiveIsland_MemorialPillar_EventScript_AskPlaceLemonade:: @ 8168A86
msgbox FiveIsland_MemorialPillar_Text_LeaveAnotherLemonadeOffering, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq EventScript_168A9B
goto_if_eq FiveIsland_MemorialPillar_EventScript_PlaceLemonade
releaseall
end
EventScript_168A9B:: @ 8168A9B
FiveIsland_MemorialPillar_EventScript_PlaceLemonade:: @ 8168A9B
removeitem ITEM_LEMONADE, 1
msgbox gUnknown_818B13E
msgbox FiveIsland_MemorialPillar_Text_PlacedCanOfLemonade
closemessage
applymovement 1, Movement_WalkInPlaceFastestRight
waitmovement 0
@@ -61,28 +61,28 @@ EventScript_168A9B:: @ 8168A9B
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
waitmovement 0
textcolor 0
msgbox gUnknown_818B171
msgbox FiveIsland_MemorialPillar_Text_ThankYouPleaseTakeThis
giveitem ITEM_TM42
compare VAR_RESULT, 0
goto_if_eq EventScript_168AFE
call EventScript_168AE8
compare VAR_RESULT, FALSE
goto_if_eq FiveIsland_MemorialPillar_EventScript_NoRoomForTM42
call FiveIsland_MemorialPillar_EventScript_ReceivedTM42
releaseall
end
EventScript_168AE8:: @ 8168AE8
msgbox gUnknown_818B219
FiveIsland_MemorialPillar_EventScript_ReceivedTM42:: @ 8168AE8
msgbox FiveIsland_MemorialPillar_Text_BeGoodToYourMonsToo
applymovement 1, Movement_WalkInPlaceFastestUp
waitmovement 0
setflag FLAG_GOT_TM42_AT_MEMORIAL_PILLAR
return
EventScript_168AFE:: @ 8168AFE
FiveIsland_MemorialPillar_EventScript_NoRoomForTM42:: @ 8168AFE
setflag FLAG_NO_ROOM_FOR_TM42_AT_MEMORIAL_PILLAR
msgbox gUnknown_818B23E
msgbox FiveIsland_MemorialPillar_Text_DontHaveRoomForIt
releaseall
end
EventScript_168B0B:: @ 8168B0B
msgbox gUnknown_818B2F8
FiveIsland_MemorialPillar_EventScript_MemorialLemonadeAlreadyPlaced:: @ 8168B0B
msgbox FiveIsland_MemorialPillar_Text_HereLiesTectonix
releaseall
end
+21 -21
View File
@@ -1,69 +1,69 @@
Text_18AE50:: @ 818AE50
FiveIsland_MemorialPillar_Text_MiloIntro:: @ 818AE50
.string "I'm the eldest of the BIRD\n"
.string "BROTHERS.\p"
.string "The best thing about birds…\n"
.string "It has to be the beak.$"
Text_18AEA8:: @ 818AEA8
FiveIsland_MemorialPillar_Text_MiloDefeat:: @ 818AEA8
.string "Oh, so sharp!$"
Text_18AEB6:: @ 818AEB6
FiveIsland_MemorialPillar_Text_MiloPostBattle:: @ 818AEB6
.string "You can fly to FOUR ISLAND from\n"
.string "here.$"
Text_18AEDC:: @ 818AEDC
FiveIsland_MemorialPillar_Text_ChazIntro:: @ 818AEDC
.string "I'm the middle kid of the BIRD\n"
.string "BROTHERS.\p"
.string "The best thing about birds…\n"
.string "It has to be the wings.$"
Text_18AF39:: @ 818AF39
FiveIsland_MemorialPillar_Text_ChazDefeat:: @ 818AF39
.string "Flap, flap!$"
Text_18AF45:: @ 818AF45
FiveIsland_MemorialPillar_Text_ChazPostBattle:: @ 818AF45
.string "There was a really somber guy\n"
.string "over that way.$"
Text_18AF72:: @ 818AF72
FiveIsland_MemorialPillar_Text_HaroldIntro:: @ 818AF72
.string "I'm the youngest of the BIRD\n"
.string "BROTHERS.\p"
.string "The best thing about birds…\n"
.string "It has to be the down.$"
Text_18AFCC:: @ 818AFCC
FiveIsland_MemorialPillar_Text_HaroldDefeat:: @ 818AFCC
.string "Down is so comfy…\n"
.string "It makes me drowsy…$"
Text_18AFF2:: @ 818AFF2
FiveIsland_MemorialPillar_Text_HaroldPostBattle:: @ 818AFF2
.string "It fills me with happiness when\n"
.string "bird POKéMON beg playfully…$"
gUnknown_818B02E:: @ 818B02E
FiveIsland_MemorialPillar_Text_ScrubScrub:: @ 818B02E
.string "Scrub, scrub…$"
gUnknown_818B03C:: @ 818B03C
FiveIsland_MemorialPillar_Text_YourMonsLookHealthy:: @ 818B03C
.string "Hello…\n"
.string "Your POKéMON look healthy…$"
gUnknown_818B05E:: @ 818B05E
FiveIsland_MemorialPillar_Text_ThisIsWhereIBuriedMyOnix:: @ 818B05E
.string "This is where I buried my ONIX…\n"
.string "It was named TECTONIX…$"
gUnknown_818B095:: @ 818B095
FiveIsland_MemorialPillar_Text_HereLiesTectonixLemonadeOffering:: @ 818B095
.string "“Here lies TECTONIX” is engraved\n"
.string "on a boulder.\p"
.string "There is a LEMONADE placed as an\n"
.string "offering in front of the grave.$"
gUnknown_818B105:: @ 818B105
FiveIsland_MemorialPillar_Text_LeaveAnotherLemonadeOffering:: @ 818B105
.string "Would you like to leave another\n"
.string "LEMONADE as an offering?$"
gUnknown_818B13E:: @ 818B13E
FiveIsland_MemorialPillar_Text_PlacedCanOfLemonade:: @ 818B13E
.string "{PLAYER} placed a can of LEMONADE\n"
.string "in front of the grave.$"
gUnknown_818B171:: @ 818B171
FiveIsland_MemorialPillar_Text_ThankYouPleaseTakeThis:: @ 818B171
.string "Th-thank you…\p"
.string "That was my TECTONIX's favorite\n"
.string "drink…\p"
@@ -73,25 +73,25 @@ gUnknown_818B171:: @ 818B171
.string "Can you please take this as my\n"
.string "thanks?$"
gUnknown_818B219:: @ 818B219
FiveIsland_MemorialPillar_Text_BeGoodToYourMonsToo:: @ 818B219
.string "Please be good to your POKéMON,\n"
.string "too.$"
gUnknown_818B23E:: @ 818B23E
FiveIsland_MemorialPillar_Text_DontHaveRoomForIt:: @ 818B23E
.string "If you don't have room for it,\n"
.string "I'll hold it for you till next time.$"
gUnknown_818B282:: @ 818B282
FiveIsland_MemorialPillar_Text_StillHaveThingAsMyThanks:: @ 818B282
.string "Oh, it's you from that time…\p"
.string "I still have that thing I wanted\n"
.string "you to have as my thanks.$"
gUnknown_818B2DA:: @ 818B2DA
FiveIsland_MemorialPillar_Text_ScrubScrubTectonix:: @ 818B2DA
.string "Scrub, scrub…\p"
.string "… … …\n"
.string "TECTONIX…$"
gUnknown_818B2F8:: @ 818B2F8
FiveIsland_MemorialPillar_Text_HereLiesTectonix:: @ 818B2F8
.string "Boulders and rocks are neatly piled\n"
.string "up as a cairn.\p"
.string "“Here lies TECTONIX” is engraved\n"