Document Six Island scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user