Document Five Island scripts
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FiveIsland_ResortGorgeous_House_EventScript_171EBE",
|
||||
"script": "FiveIsland_ResortGorgeous_House_EventScript_Selphy",
|
||||
"flag": "FLAG_HIDE_RESORT_GORGEOUS_INSIDE_SELPHY"
|
||||
},
|
||||
{
|
||||
@@ -38,7 +38,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FiveIsland_ResortGorgeous_House_EventScript_172062",
|
||||
"script": "FiveIsland_ResortGorgeous_House_EventScript_Butler",
|
||||
"flag": "FLAG_HIDE_SELPHYS_BUTLER"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,116 +1,121 @@
|
||||
.equ LOCALID_SELPHY, 1
|
||||
.equ LOCALID_BUTLER, 2
|
||||
|
||||
.equ SHOWN_REQUESTED_MON, FLAG_TEMP_2
|
||||
|
||||
FiveIsland_ResortGorgeous_House_MapScripts:: @ 8171EBD
|
||||
.byte 0
|
||||
|
||||
FiveIsland_ResortGorgeous_House_EventScript_171EBE:: @ 8171EBE
|
||||
FiveIsland_ResortGorgeous_House_EventScript_Selphy:: @ 8171EBE
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
special sub_8112364
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_TEMP_2, EventScript_172043
|
||||
goto_if_set SHOWN_REQUESTED_MON, FiveIsland_ResortGorgeous_House_EventScript_JustFulfilledRequest
|
||||
compare VAR_RESORT_GORGEOUS_REQUESTED_MON, 0xFFFF
|
||||
goto_if_eq EventScript_171F0B
|
||||
goto_if_eq FiveIsland_ResortGorgeous_House_EventScript_RequestTookTooLong
|
||||
compare VAR_RESORT_GORGEOUS_REQUESTED_MON, SPECIES_NONE
|
||||
goto_if_ne EventScript_171F19
|
||||
msgbox gUnknown_81A42A0
|
||||
goto EventScript_171EFE
|
||||
goto_if_ne FiveIsland_ResortGorgeous_House_EventScript_CheckForRequestedMon
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_PleaseHearMyWish
|
||||
goto FiveIsland_ResortGorgeous_House_EventScript_RequestMon
|
||||
end
|
||||
|
||||
EventScript_171EFE:: @ 8171EFE
|
||||
special Special_SampleResortGorgeousMonAndReward
|
||||
msgbox gUnknown_81A4315
|
||||
FiveIsland_ResortGorgeous_House_EventScript_RequestMon:: @ 8171EFE
|
||||
special SampleResortGorgeousMonAndReward
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_WishToSeeMonPlease
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_171F0B:: @ 8171F0B
|
||||
msgbox gUnknown_81A437A
|
||||
goto EventScript_171EFE
|
||||
FiveIsland_ResortGorgeous_House_EventScript_RequestTookTooLong:: @ 8171F0B
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_OhImTiredOfWaiting
|
||||
goto FiveIsland_ResortGorgeous_House_EventScript_RequestMon
|
||||
end
|
||||
|
||||
EventScript_171F19:: @ 8171F19
|
||||
FiveIsland_ResortGorgeous_House_EventScript_CheckForRequestedMon:: @ 8171F19
|
||||
copyvar VAR_0x8004, VAR_RESORT_GORGEOUS_REQUESTED_MON
|
||||
specialvar VAR_RESULT, Special_PlayerPartyContainsSpecies
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_171F34
|
||||
goto EventScript_171EFE
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq FiveIsland_ResortGorgeous_House_EventScript_ShowRequestedMon
|
||||
goto FiveIsland_ResortGorgeous_House_EventScript_RequestMon
|
||||
end
|
||||
|
||||
EventScript_171F34:: @ 8171F34
|
||||
special Special_SampleResortGorgeousMonAndReward
|
||||
msgbox gUnknown_81A43F7
|
||||
addobject 2
|
||||
applymovement 2, Movement_172060
|
||||
FiveIsland_ResortGorgeous_House_EventScript_ShowRequestedMon:: @ 8171F34
|
||||
special SampleResortGorgeousMonAndReward
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_MonYouCaughtForMeThankYou
|
||||
addobject LOCALID_BUTLER
|
||||
applymovement LOCALID_BUTLER, FiveIsland_ResortGorgeous_House_Movement_ButlerEnter
|
||||
waitmovement 0
|
||||
textcolor 0
|
||||
msgbox gUnknown_81A450B
|
||||
applymovement 1, Movement_WalkInPlaceFastestUp
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_ButlerYesMyLady
|
||||
applymovement LOCALID_SELPHY, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
textcolor 1
|
||||
msgbox gUnknown_81A4521
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_SelphyGiveTokenOfAppreciation
|
||||
textcolor 0
|
||||
msgbox gUnknown_81A4566
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_ButlerIShallDoAsYouBid
|
||||
closemessage
|
||||
compare VAR_FACING, DIR_NORTH
|
||||
call_if_eq EventScript_171FCD
|
||||
call_if_eq FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerNorth
|
||||
compare VAR_FACING, DIR_SOUTH
|
||||
call_if_eq EventScript_171FE9
|
||||
call_if_eq FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerSouth
|
||||
compare VAR_FACING, DIR_EAST
|
||||
call_if_eq EventScript_171FFE
|
||||
call_if_eq FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerEast
|
||||
compare VAR_FACING, DIR_WEST
|
||||
call_if_eq EventScript_17201A
|
||||
moveobjectoffscreen 2
|
||||
msgbox gUnknown_81A458E
|
||||
call_if_eq FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerWest
|
||||
moveobjectoffscreen LOCALID_BUTLER
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_ButlerPleaseAcceptThisAsHerThanks
|
||||
giveitem VAR_RESORT_GORGEOUS_REWARD
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq EventScript_172025
|
||||
setflag FLAG_TEMP_2
|
||||
setvar VAR_RESORT_GORGEOUS_REQUESTED_MON, 0
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq FiveIsland_ResortGorgeous_House_EventScript_NoRoomForReward
|
||||
setflag SHOWN_REQUESTED_MON
|
||||
setvar VAR_RESORT_GORGEOUS_REQUESTED_MON, SPECIES_NONE
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_171FCD:: @ 8171FCD
|
||||
applymovement 1, Movement_WalkInPlaceFastestDown
|
||||
applymovement 2, Movement_17204D
|
||||
FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerNorth:: @ 8171FCD
|
||||
applymovement LOCALID_SELPHY, Movement_WalkInPlaceFastestDown
|
||||
applymovement LOCALID_BUTLER, FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerNorth
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestLeft
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_171FE9:: @ 8171FE9
|
||||
applymovement 2, Movement_172055
|
||||
FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerSouth:: @ 8171FE9
|
||||
applymovement LOCALID_BUTLER, FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerSouth
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_171FFE:: @ 8171FFE
|
||||
applymovement 1, Movement_WalkInPlaceFastestLeft
|
||||
applymovement 2, Movement_172059
|
||||
FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerEast:: @ 8171FFE
|
||||
applymovement LOCALID_SELPHY, Movement_WalkInPlaceFastestLeft
|
||||
applymovement LOCALID_BUTLER, FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerEast
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_17201A:: @ 817201A
|
||||
applymovement 2, Movement_17205E
|
||||
FiveIsland_ResortGorgeous_House_EventScript_ButlerApproachPlayerWest:: @ 817201A
|
||||
applymovement LOCALID_BUTLER, FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerWest
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
EventScript_172025:: @ 8172025
|
||||
FiveIsland_ResortGorgeous_House_EventScript_NoRoomForReward:: @ 8172025
|
||||
textcolor 0
|
||||
msgbox gUnknown_81A45E8
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_ButlerBagAppearsToBeFull
|
||||
textcolor 1
|
||||
msgbox gUnknown_81A461B
|
||||
setflag FLAG_TEMP_2
|
||||
setvar VAR_RESORT_GORGEOUS_REQUESTED_MON, 0
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_OhHowDisappointing
|
||||
setflag SHOWN_REQUESTED_MON
|
||||
setvar VAR_RESORT_GORGEOUS_REQUESTED_MON, SPECIES_NONE
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_172043:: @ 8172043
|
||||
msgbox gUnknown_81A4632
|
||||
FiveIsland_ResortGorgeous_House_EventScript_JustFulfilledRequest:: @ 8172043
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_SelphyWishYouBestOfLuck
|
||||
release
|
||||
end
|
||||
|
||||
Movement_17204D:: @ 817204D
|
||||
FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerNorth:: @ 817204D
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
@@ -120,27 +125,30 @@ Movement_17204D:: @ 817204D
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
Movement_172055:: @ 8172055
|
||||
FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerSouth:: @ 8172055
|
||||
walk_left
|
||||
walk_left
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
Movement_172059:: @ 8172059
|
||||
FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerEast:: @ 8172059
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Movement_17205E:: @ 817205E
|
||||
@ Very odd. If the player is talking to Selphy facing West, then the player has clipped through the table
|
||||
@ In this case rather than approach the player the Butler walks up, which clips the Butler into a wall
|
||||
FiveIsland_ResortGorgeous_House_Movement_ButlerApproachPlayerWest:: @ 817205E
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Movement_172060:: @ 8172060
|
||||
FiveIsland_ResortGorgeous_House_Movement_ButlerEnter:: @ 8172060
|
||||
walk_in_place_down
|
||||
step_end
|
||||
|
||||
FiveIsland_ResortGorgeous_House_EventScript_172062:: @ 8172062
|
||||
msgbox gUnknown_81A4657, MSGBOX_NPC
|
||||
@ Addressed as "Sebastian" but speaks only as "Butler"
|
||||
FiveIsland_ResortGorgeous_House_EventScript_Butler:: @ 8172062
|
||||
msgbox FiveIsland_ResortGorgeous_House_Text_LadySelphySmileHasBrillianceOfSun, MSGBOX_NPC
|
||||
end
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
gUnknown_81A42A0:: @ 81A42A0
|
||||
FiveIsland_ResortGorgeous_House_Text_PleaseHearMyWish:: @ 81A42A0
|
||||
.string "SELPHY: Oh?\n"
|
||||
.string "Do I know you from somewhere?\p"
|
||||
.string "Oh, but that doesn't matter.\p"
|
||||
.string "I am exquisitely bored.\n"
|
||||
.string "Please, hear my wish.$"
|
||||
|
||||
gUnknown_81A4315:: @ 81A4315
|
||||
FiveIsland_ResortGorgeous_House_Text_WishToSeeMonPlease:: @ 81A4315
|
||||
.string "I wish to see a POKéMON.\n"
|
||||
.string "A darling {STR_VAR_1}.\p"
|
||||
.string "I want to see one right away.\n"
|
||||
.string "Please, make my wish come true.$"
|
||||
|
||||
gUnknown_81A437A:: @ 81A437A
|
||||
FiveIsland_ResortGorgeous_House_Text_OhImTiredOfWaiting:: @ 81A437A
|
||||
.string "SELPHY: Oh, I'm tired of this.\n"
|
||||
.string "I'm tired of waiting for you.\p"
|
||||
.string "I'll forgive you this time, but\n"
|
||||
.string "please don't fail me next time.$"
|
||||
|
||||
gUnknown_81A43F7:: @ 81A43F7
|
||||
FiveIsland_ResortGorgeous_House_Text_MonYouCaughtForMeThankYou:: @ 81A43F7
|
||||
.string "SELPHY: Oh, hello, there.\p"
|
||||
.string "Oh, my gracious. That must be the\n"
|
||||
.string "{STR_VAR_1} you caught for me.\p"
|
||||
@@ -32,35 +32,35 @@ gUnknown_81A43F7:: @ 81A43F7
|
||||
.string "SEBASTIAN!\n"
|
||||
.string "I need you here this instant!$"
|
||||
|
||||
gUnknown_81A450B:: @ 81A450B
|
||||
FiveIsland_ResortGorgeous_House_Text_ButlerYesMyLady:: @ 81A450B
|
||||
.string "Butler: Yes, my lady.$"
|
||||
|
||||
gUnknown_81A4521:: @ 81A4521
|
||||
FiveIsland_ResortGorgeous_House_Text_SelphyGiveTokenOfAppreciation:: @ 81A4521
|
||||
.string "SELPHY: See to it that this person\n"
|
||||
.string "is given a token of appreciation.$"
|
||||
|
||||
gUnknown_81A4566:: @ 81A4566
|
||||
FiveIsland_ResortGorgeous_House_Text_ButlerIShallDoAsYouBid:: @ 81A4566
|
||||
.string "Butler: I shall do as you bid,\n"
|
||||
.string "my lady.$"
|
||||
|
||||
gUnknown_81A458E:: @ 81A458E
|
||||
FiveIsland_ResortGorgeous_House_Text_ButlerPleaseAcceptThisAsHerThanks:: @ 81A458E
|
||||
.string "Butler: I sincerely thank you for\n"
|
||||
.string "pleasing Lady SELPHY.\p"
|
||||
.string "Please accept this as her thanks…$"
|
||||
|
||||
gUnknown_81A45E8:: @ 81A45E8
|
||||
FiveIsland_ResortGorgeous_House_Text_ButlerBagAppearsToBeFull:: @ 81A45E8
|
||||
.string "Butler: Your BAG appears to be\n"
|
||||
.string "unfortunately full.$"
|
||||
|
||||
gUnknown_81A461B:: @ 81A461B
|
||||
FiveIsland_ResortGorgeous_House_Text_OhHowDisappointing:: @ 81A461B
|
||||
.string "Oh…\n"
|
||||
.string "How disappointing.$"
|
||||
|
||||
gUnknown_81A4632:: @ 81A4632
|
||||
FiveIsland_ResortGorgeous_House_Text_SelphyWishYouBestOfLuck:: @ 81A4632
|
||||
.string "SELPHY: I wish you the best of\n"
|
||||
.string "luck.$"
|
||||
|
||||
gUnknown_81A4657:: @ 81A4657
|
||||
FiveIsland_ResortGorgeous_House_Text_LadySelphySmileHasBrillianceOfSun:: @ 81A4657
|
||||
.string "Butler: The smile of Lady SELPHY\n"
|
||||
.string "has the brilliance of the sun.\p"
|
||||
.string "Please, I beg you to bring joy\n"
|
||||
|
||||
Reference in New Issue
Block a user