Document Six Island scripts

This commit is contained in:
GriffinR
2020-02-28 08:16:21 -05:00
parent 43f66fce55
commit 948b695ad4
42 changed files with 623 additions and 619 deletions
@@ -25,7 +25,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_WaterPath_House1_EventScript_17206D",
"script": "SixIsland_WaterPath_House1_EventScript_Beauty",
"flag": "0"
}
],
@@ -45,7 +45,7 @@
"x": 9,
"y": 1,
"elevation": 0,
"script": "SixIsland_WaterPath_House1_EventScript_172157"
"script": "SixIsland_WaterPath_House1_EventScript_SizeRecord"
}
]
}
@@ -1,84 +1,84 @@
SixIsland_WaterPath_House1_MapScripts:: @ 817206C
.byte 0
SixIsland_WaterPath_House1_EventScript_17206D:: @ 817206D
SixIsland_WaterPath_House1_EventScript_Beauty:: @ 817206D
lock
faceplayer
goto_if_questlog EventScript_ReleaseEnd
special sub_8112364
setvar VAR_0x8004, SPECIES_HERACROSS
specialvar VAR_RESULT, Special_PlayerPartyContainsSpecies
compare VAR_RESULT, 0
goto_if_eq EventScript_1720E5
compare VAR_RESULT, FALSE
goto_if_eq SixIsland_WaterPath_House1_EventScript_NoHeracrossInParty
special GetHeracrossSizeRecordInfo
msgbox gUnknown_81A4A3F
msgbox SixIsland_WaterPath_House1_Text_MayIMeasureHeracross
special Special_ChooseMonFromParty
waitstate
copyvar VAR_RESULT, VAR_0x8004
compare VAR_RESULT, 6
goto_if_ge EventScript_1720EF
compare VAR_RESULT, PARTY_SIZE
goto_if_ge SixIsland_WaterPath_House1_EventScript_DontShowMon
special CompareHeracrossSize
compare VAR_RESULT, 1
goto_if_eq EventScript_1720F1
goto_if_eq SixIsland_WaterPath_House1_EventScript_ShownNonHeracross
compare VAR_RESULT, 2
goto_if_eq EventScript_1720FB
goto_if_eq SixIsland_WaterPath_House1_EventScript_ShownSmallHeracross
compare VAR_RESULT, 3
goto_if_eq EventScript_172121
goto_if_eq SixIsland_WaterPath_House1_EventScript_ShownBigHeracross
compare VAR_RESULT, 4
goto_if_eq EventScript_17210E
goto_if_eq SixIsland_WaterPath_House1_EventScript_ShownTiedHeracross
release
end
EventScript_1720E5:: @ 81720E5
msgbox gUnknown_81A49E9
SixIsland_WaterPath_House1_EventScript_NoHeracrossInParty:: @ 81720E5
msgbox SixIsland_WaterPath_House1_Text_LoveItNeedItHeracross
release
end
EventScript_1720EF:: @ 81720EF
SixIsland_WaterPath_House1_EventScript_DontShowMon:: @ 81720EF
release
end
EventScript_1720F1:: @ 81720F1
msgbox gUnknown_81A4BEF
SixIsland_WaterPath_House1_EventScript_ShownNonHeracross:: @ 81720F1
msgbox SixIsland_WaterPath_House1_Text_ThisWontDo
release
end
EventScript_1720FB:: @ 81720FB
goto_if_unset FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, EventScript_172121
msgbox gUnknown_81A4B7A
SixIsland_WaterPath_House1_EventScript_ShownSmallHeracross:: @ 81720FB
goto_if_unset FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, SixIsland_WaterPath_House1_EventScript_ShownBigHeracross
msgbox SixIsland_WaterPath_House1_Text_ItsXInchesYInchesWasBiggest
release
end
EventScript_17210E:: @ 817210E
goto_if_unset FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, EventScript_172121
msgbox gUnknown_81A4B39
SixIsland_WaterPath_House1_EventScript_ShownTiedHeracross:: @ 817210E
goto_if_unset FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, SixIsland_WaterPath_House1_EventScript_ShownBigHeracross
msgbox SixIsland_WaterPath_House1_Text_ItsXInchesSameAsBefore
release
end
EventScript_172121:: @ 8172121
SixIsland_WaterPath_House1_EventScript_ShownBigHeracross:: @ 8172121
setflag FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1
msgbox gUnknown_81A4A88
msgbox SixIsland_WaterPath_House1_Text_ItsXInchesDeserveReward
giveitem ITEM_NEST_BALL
compare VAR_RESULT, 0
goto_if_eq EventScript_17214D
msgbox gUnknown_81A4AD9
compare VAR_RESULT, FALSE
goto_if_eq SixIsland_WaterPath_House1_EventScript_NoRoomForNestBall
msgbox SixIsland_WaterPath_House1_Text_WantToSeeBiggerOne
release
end
EventScript_17214D:: @ 817214D
msgbox gUnknown_81A4C47
SixIsland_WaterPath_House1_EventScript_NoRoomForNestBall:: @ 817214D
msgbox SixIsland_WaterPath_House1_Text_YourBagIsFull
release
end
SixIsland_WaterPath_House1_EventScript_172157:: @ 8172157
SixIsland_WaterPath_House1_EventScript_SizeRecord:: @ 8172157
lockall
goto_if_set FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, EventScript_17216B
msgbox gUnknown_81A4CB9
goto_if_set FLAG_GOT_NEST_BALL_FROM_WATER_PATH_HOUSE_1, SixIsland_WaterPath_House1_EventScript_SizeRecordNonEmpty
msgbox SixIsland_WaterPath_House1_Text_BlankChartOfSomeSort
releaseall
end
EventScript_17216B:: @ 817216B
SixIsland_WaterPath_House1_EventScript_SizeRecordNonEmpty:: @ 817216B
special GetHeracrossSizeRecordInfo
msgbox gUnknown_81A4C6E
msgbox SixIsland_WaterPath_House1_Text_BiggestHeracrossIsXInches
releaseall
end
+10 -64
View File
@@ -1,104 +1,50 @@
Text_UltimateMoveThatMon:: @ 81A46C6
.string "I perfected the ultimate move of\n"
.string "its type…\p"
.string "But will no one take it for\n"
.string "future use?\p"
.string "…Hm? Hmmm!\p"
.string "Y-you…\n"
.string "Th-that {STR_VAR_1}…$"
Text_JustMistaken:: @ 81A4737
.string "…No…\n"
.string "I was just mistaken.$"
Text_AllowMeToTeachMonUltimateMove:: @ 81A4751
.string "Oh! This is the one!\n"
.string "This is the POKéMON!\p"
.string "This {STR_VAR_1} is worthy of\n"
.string "learning my ultimate move!\p"
.string "Will you allow it?\p"
.string "Will you allow your {STR_VAR_1} to\n"
.string "learn my {STR_VAR_2}?$"
Text_YouRejectIt:: @ 81A47E5
.string "Gaah! You reject it?\n"
.string "No, I won't be dissuaded!$"
Text_LetMeConferUltimateMove:: @ 81A4814
.string "You will allow it?\p"
.string "Then, let me confer my ultimate\n"
.string "{STR_VAR_2} on your {STR_VAR_1}.\p"
.string "Ggggrah-awooo!$"
Text_TaughtMove:: @ 81A4865
.string "Gasp, gasp, gasp…\p"
.string "I didn't think I could teach that\n"
.string "move while I still lived…$"
Text_MakeBestUseOfMove:: @ 81A48B3
.string "I implore you to make the best\n"
.string "use of that move and gain power!$"
Text_PassedOnEverythingIKnow:: @ 81A48F3
.string "Gasp, gasp, gasp…\p"
.string "I have no regrets now.\n"
.string "I've passed on everything I know.\p"
.string "Now I can live out my life knowing\n"
.string "my work is done.$"
Text_FeelRejuvenated:: @ 81A4972
.string "After I passed on my knowledge to\n"
.string "you, I felt so much relief.\p"
.string "In fact, I feel rejuvenated,\n"
.string "as if I were younger again!$"
gUnknown_81A49E9:: @ 81A49E9
SixIsland_WaterPath_House1_Text_LoveItNeedItHeracross:: @ 81A49E9
.string "Hera, hera, HERACROSS!\n"
.string "Big and shiny, it's the bug boss!\l"
.string "Love it, need it, HERACROSS!$"
gUnknown_81A4A3F:: @ 81A4A3F
SixIsland_WaterPath_House1_Text_MayIMeasureHeracross:: @ 81A4A3F
.string "Eeeeek!\n"
.string "That's a HERACROSS!\p"
.string "Please, please, may I measure how\n"
.string "big it is?$"
gUnknown_81A4A88:: @ 81A4A88
SixIsland_WaterPath_House1_Text_ItsXInchesDeserveReward:: @ 81A4A88
.string "Eeeek, it's {STR_VAR_2} inches!\n"
.string "I've never seen anything like this!\l"
.string "You deserve a reward!$"
gUnknown_81A4AD9:: @ 81A4AD9
SixIsland_WaterPath_House1_Text_WantToSeeBiggerOne:: @ 81A4AD9
.string "I want to see a much, much bigger\n"
.string "HERACROSS than that one.\p"
.string "Oh, how I adore them, big\n"
.string "HERACROSS!$"
gUnknown_81A4B39:: @ 81A4B39
SixIsland_WaterPath_House1_Text_ItsXInchesSameAsBefore:: @ 81A4B39
.string "Huh? This {STR_VAR_2}-inch measurement…\n"
.string "Oh, boo! It's the same as before.$"
gUnknown_81A4B7A:: @ 81A4B7A
SixIsland_WaterPath_House1_Text_ItsXInchesYInchesWasBiggest:: @ 81A4B7A
.string "Oh, it's just {STR_VAR_2} inches.\n"
.string "The HERACROSS before was bigger.\p"
.string "It was {STR_VAR_3} inches, the biggest\n"
.string "HERACROSS you've brought me.$"
gUnknown_81A4BEF:: @ 81A4BEF
SixIsland_WaterPath_House1_Text_ThisWontDo:: @ 81A4BEF
.string "Oh, no! This won't do!\p"
.string "HERACROSS looks much more macho\n"
.string "and cool, and has a lovely horn!$"
gUnknown_81A4C47:: @ 81A4C47
SixIsland_WaterPath_House1_Text_YourBagIsFull:: @ 81A4C47
.string "Your BAG is full.\n"
.string "My reward won't fit.$"
gUnknown_81A4C6E:: @ 81A4C6E
SixIsland_WaterPath_House1_Text_BiggestHeracrossIsXInches:: @ 81A4C6E
.string "The biggest HERACROSS that I have\n"
.string "ever seen measured so far is:\p"
.string "{STR_VAR_3} inches!$"
gUnknown_81A4CB9:: @ 81A4CB9
SixIsland_WaterPath_House1_Text_BlankChartOfSomeSort:: @ 81A4CB9
.string "It's a blank chart of some sort.\p"
.string "It has spaces for writing in\n"
.string "records of some kind.$"