diff options
Diffstat (limited to 'data/maps/SafariZone_South/scripts.inc')
-rw-r--r-- | data/maps/SafariZone_South/scripts.inc | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/data/maps/SafariZone_South/scripts.inc b/data/maps/SafariZone_South/scripts.inc index 75ea52347..ee9844340 100644 --- a/data/maps/SafariZone_South/scripts.inc +++ b/data/maps/SafariZone_South/scripts.inc @@ -1,15 +1,15 @@ .set LOCALID_ATTENDANT, 1 -SafariZone_South_MapScripts:: @ 823D279 +SafariZone_South_MapScripts:: map_script MAP_SCRIPT_ON_TRANSITION, SafariZone_South_OnTransition map_script MAP_SCRIPT_ON_FRAME_TABLE, SafariZone_South_OnFrame .byte 0 -SafariZone_South_OnFrame: @ 823D284 +SafariZone_South_OnFrame: map_script_2 VAR_SAFARI_ZONE_STATE, 2, SafariZone_South_EventScript_EnterSafariZone .2byte 0 -SafariZone_South_EventScript_EnterSafariZone:: @ 823D28E +SafariZone_South_EventScript_EnterSafariZone:: lockall applymovement OBJ_EVENT_ID_PLAYER, SafariZone_South_Movement_PlayerEnter waitmovement 0 @@ -20,37 +20,37 @@ SafariZone_South_EventScript_EnterSafariZone:: @ 823D28E releaseall end -SafariZone_South_OnTransition: @ 823D2B1 +SafariZone_South_OnTransition: compare VAR_SAFARI_ZONE_STATE, 2 call_if_eq SafariZone_South_EventScript_SetExitAttendantAside end -SafariZone_South_EventScript_SetExitAttendantAside:: @ 823D2BD +SafariZone_South_EventScript_SetExitAttendantAside:: setobjectxyperm LOCALID_ATTENDANT, 31, 34 return -SafariZone_South_Movement_PlayerEnter: @ 823D2C5 +SafariZone_South_Movement_PlayerEnter: walk_down step_end -SafariZone_South_Movement_ExitAttendantBlockDoor: @ 823D2C7 +SafariZone_South_Movement_ExitAttendantBlockDoor: walk_right walk_in_place_fastest_down step_end -SafariZone_South_EventScript_Boy:: @ 823D2CA +SafariZone_South_EventScript_Boy:: msgbox SafariZone_South_Text_Boy, MSGBOX_NPC end -SafariZone_South_EventScript_Man:: @ 823D2D3 +SafariZone_South_EventScript_Man:: msgbox SafariZone_South_Text_Man, MSGBOX_NPC end -SafariZone_South_EventScript_Youngster:: @ 823D2DC +SafariZone_South_EventScript_Youngster:: msgbox SafariZone_South_Text_Youngster, MSGBOX_NPC end -SafariZone_South_EventScript_ExitAttendant:: @ 823D2E5 +SafariZone_South_EventScript_ExitAttendant:: lock faceplayer goto_if_unset FLAG_GOOD_LUCK_SAFARI_ZONE, SafariZone_South_EventScript_GoodLuck @@ -61,13 +61,13 @@ SafariZone_South_EventScript_ExitAttendant:: @ 823D2E5 release end -SafariZone_South_EventScript_GoodLuck:: @ 823D30D +SafariZone_South_EventScript_GoodLuck:: setflag FLAG_GOOD_LUCK_SAFARI_ZONE msgbox SafariZone_South_Text_GoodLuck, MSGBOX_DEFAULT release end -SafariZone_South_EventScript_ExitEarly:: @ 823D31A +SafariZone_South_EventScript_ExitEarly:: msgbox SafariZone_South_Text_ExitEarlyThankYouForPlaying, MSGBOX_DEFAULT closemessage switch VAR_FACING @@ -75,7 +75,7 @@ SafariZone_South_EventScript_ExitEarly:: @ 823D31A case DIR_EAST, SafariZone_South_EventScript_ExitEarlyEast end -SafariZone_South_EventScript_ExitEarlyNorth:: @ 823D33F +SafariZone_South_EventScript_ExitEarlyNorth:: applymovement LOCALID_ATTENDANT, SafariZone_South_Movement_MoveExitAttendantNorth waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, SafariZone_South_Movement_PlayerExitNorth @@ -83,7 +83,7 @@ SafariZone_South_EventScript_ExitEarlyNorth:: @ 823D33F goto SafariZone_South_EventScript_Exit end -SafariZone_South_EventScript_ExitEarlyEast:: @ 823D359 +SafariZone_South_EventScript_ExitEarlyEast:: applymovement LOCALID_ATTENDANT, SafariZone_South_Movement_MoveExitAttendantEast waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, SafariZone_South_Movement_PlayerExitEast @@ -91,64 +91,64 @@ SafariZone_South_EventScript_ExitEarlyEast:: @ 823D359 goto SafariZone_South_EventScript_Exit end -SafariZone_South_EventScript_Exit:: @ 823D373 +SafariZone_South_EventScript_Exit:: setvar VAR_SAFARI_ZONE_STATE, 1 special ExitSafariMode warpdoor MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5 waitstate end -SafariZone_South_Movement_PlayerExitNorth: @ 823D385 +SafariZone_South_Movement_PlayerExitNorth: walk_up step_end -SafariZone_South_Movement_PlayerExitEast: @ 823D387 +SafariZone_South_Movement_PlayerExitEast: walk_right walk_in_place_fastest_up step_end -SafariZone_South_Movement_MoveExitAttendantNorth: @ 823D38A +SafariZone_South_Movement_MoveExitAttendantNorth: walk_left walk_in_place_fastest_right step_end -SafariZone_South_Movement_MoveExitAttendantEast: @ 823D38D +SafariZone_South_Movement_MoveExitAttendantEast: walk_down walk_in_place_fastest_up step_end -SafariZone_South_EventScript_ConstructionWorker1:: @ 823D390 +SafariZone_South_EventScript_ConstructionWorker1:: msgbox SafariZone_South_Text_AreaOffLimits1, MSGBOX_NPC end -SafariZone_Southeast_EventScript_ExpansionZoneAttendant:: @ 823D399 +SafariZone_Southeast_EventScript_ExpansionZoneAttendant:: msgbox SafariZone_Southeast_Text_ExpansionIsFinished, MSGBOX_NPC end -SafariZone_South_EventScript_ConstructionWorker2:: @ 823D3A2 +SafariZone_South_EventScript_ConstructionWorker2:: msgbox SafariZone_South_Text_AreaOffLimits2, MSGBOX_NPC end -SafariZone_Southeast_EventScript_LittleGirl:: @ 823D3AB +SafariZone_Southeast_EventScript_LittleGirl:: msgbox SafariZone_Southeast_Text_LittleGirl, MSGBOX_NPC end -SafariZone_Southeast_EventScript_FatMan:: @ 823D3B4 +SafariZone_Southeast_EventScript_FatMan:: msgbox SafariZone_Southeast_Text_FatMan, MSGBOX_NPC end -SafariZone_Southeast_EventScript_RichBoy:: @ 823D3BD +SafariZone_Southeast_EventScript_RichBoy:: msgbox SafariZone_Southeast_Text_RichBoy, MSGBOX_NPC end -SafariZone_Northeast_EventScript_Boy:: @ 823D3C6 +SafariZone_Northeast_EventScript_Boy:: msgbox SafariZone_Northeast_Text_Boy, MSGBOX_NPC end -SafariZone_Northeast_EventScript_Woman:: @ 823D3CF +SafariZone_Northeast_EventScript_Woman:: msgbox SafariZone_Northeast_Text_Woman, MSGBOX_NPC end -SafariZone_Northeast_EventScript_Girl:: @ 823D3D8 +SafariZone_Northeast_EventScript_Girl:: msgbox SafariZone_Northeast_Text_Girl, MSGBOX_NPC end |