fix EVT_SETUP_CAMERA_DEFAULT (#1162)

This commit is contained in:
Alex Bates 2024-02-02 14:53:41 +00:00 committed by GitHub
parent 0d94b5ed7d
commit fd9593a7b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
165 changed files with 165 additions and 165 deletions

View File

@ -745,7 +745,7 @@
#define SetUP_CAMERA_MINIMAL() \ #define SetUP_CAMERA_MINIMAL() \
Call(SetCamPerspective, CAM_DEFAULT, CAM_UPDATE_FROM_ZONE, 25, 16, 4096) Call(SetCamPerspective, CAM_DEFAULT, CAM_UPDATE_FROM_ZONE, 25, 16, 4096)
#define SetUP_CAMERA_DEFAULT() \ #define EVT_SETUP_CAMERA_DEFAULT() \
Call(SetCamPerspective, CAM_DEFAULT, CAM_UPDATE_FROM_ZONE, 25, 16, 4096) \ Call(SetCamPerspective, CAM_DEFAULT, CAM_UPDATE_FROM_ZONE, 25, 16, 4096) \
Call(SetCamBGColor, CAM_DEFAULT, 0, 0, 0) \ Call(SetCamBGColor, CAM_DEFAULT, 0, 0, 0) \
Call(SetCamEnabled, CAM_DEFAULT, TRUE) Call(SetCamEnabled, CAM_DEFAULT, TRUE)

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GUSTY_GULCH) Set(GB_WorldLocation, LOCATION_GUSTY_GULCH)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -40,7 +40,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GUSTY_GULCH) Set(GB_WorldLocation, LOCATION_GUSTY_GULCH)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(AF_ARN_03, FALSE) Set(AF_ARN_03, FALSE)
Set(AF_ARN_04, FALSE) Set(AF_ARN_04, FALSE)
Set(AF_ARN_05, FALSE) Set(AF_ARN_05, FALSE)

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GUSTY_GULCH) Set(GB_WorldLocation, LOCATION_GUSTY_GULCH)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -27,7 +27,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GUSTY_GULCH) Set(GB_WorldLocation, LOCATION_GUSTY_GULCH)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfLt(GB_StoryProgress, STORY_CH3_DEFEATED_TUBBA_BLUBBA) IfLt(GB_StoryProgress, STORY_CH3_DEFEATED_TUBBA_BLUBBA)
Call(MakeNpcs, FALSE, Ref(N(BeforeNPCs))) Call(MakeNpcs, FALSE, Ref(N(BeforeNPCs)))
Else Else

View File

@ -95,7 +95,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR) Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED) IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED)
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
EndIf EndIf

View File

@ -138,7 +138,7 @@ s32 N(KeyList_UpperDoor)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR) Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED) IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED)
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
EndIf EndIf

View File

@ -54,7 +54,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR) Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Switch(GB_StoryProgress) Switch(GB_StoryProgress)
CaseLt(STORY_CH3_TUBBA_SMASHED_THE_BRIDGES) CaseLt(STORY_CH3_TUBBA_SMASHED_THE_BRIDGES)
Call(MakeNpcs, TRUE, Ref(N(BeforeNPCs))) Call(MakeNpcs, TRUE, Ref(N(BeforeNPCs)))

View File

@ -89,7 +89,7 @@ EvtScript N(enterWalk_80243BC4) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR) Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED) IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED)
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
EndIf EndIf

View File

@ -38,7 +38,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR) Set(GB_WorldLocation, LOCATION_TUBBAS_MANOR)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED) IfLt(GB_StoryProgress, STORY_CH3_STAR_SPIRIT_RESCUED)
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
EndIf EndIf

View File

@ -146,7 +146,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_FlowerFields, TRUE) Set(GF_MAP_FlowerFields, TRUE)
IfLt(GB_StoryProgress, STORY_CH6_GREW_MAGIC_BEANSTALK) IfLt(GB_StoryProgress, STORY_CH6_GREW_MAGIC_BEANSTALK)
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o351, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o351, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(AF_FLO_TreeDrop_RedBerry1, FALSE) Set(AF_FLO_TreeDrop_RedBerry1, FALSE)
Set(AF_FLO_TreeDrop_RedBerry2, FALSE) Set(AF_FLO_TreeDrop_RedBerry2, FALSE)
Set(AB_FLO_PetuniaDialogue, 0) Set(AB_FLO_PetuniaDialogue, 0)

View File

@ -30,7 +30,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(AF_FLO_MadeCrystalBerry, FALSE) Set(AF_FLO_MadeCrystalBerry, FALSE)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_SetupFoliage)) ExecWait(N(EVS_SetupFoliage))

View File

@ -29,7 +29,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))

View File

@ -21,7 +21,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))
Exec(N(EVS_SetupFoliage)) Exec(N(EVS_SetupFoliage))

View File

@ -20,7 +20,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupFoliage)) Exec(N(EVS_SetupFoliage))

View File

@ -63,7 +63,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(func_80044238, 5) Call(func_80044238, 5)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))

View File

@ -20,7 +20,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(AF_FLO_GivenCrystalBerry, FALSE) Set(AF_FLO_GivenCrystalBerry, FALSE)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o180, SURFACE_TYPE_FLOWERS) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o180, SURFACE_TYPE_FLOWERS)

View File

@ -21,7 +21,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o48, SURFACE_TYPE_FLOWERS) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o48, SURFACE_TYPE_FLOWERS)

View File

@ -36,7 +36,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_MakeEntities)) Exec(N(EVS_MakeEntities))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o114, SURFACE_TYPE_SPIKES) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_SURFACE, COLLIDER_o114, SURFACE_TYPE_SPIKES)

View File

@ -12,7 +12,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)

View File

@ -25,7 +25,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))

View File

@ -44,7 +44,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupLogBridges)) Exec(N(EVS_SetupLogBridges))

View File

@ -27,7 +27,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupFoliage)) Exec(N(EVS_SetupFoliage))
Exec(N(EVS_SetupMachine)) Exec(N(EVS_SetupMachine))

View File

@ -20,7 +20,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_CLOUDY_CLIMB) Set(GB_WorldLocation, LOCATION_CLOUDY_CLIMB)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_CloudyClimb, TRUE) Set(GF_MAP_CloudyClimb, TRUE)
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(ParentColliderToModel, COLLIDER_o117, MODEL_o142) Call(ParentColliderToModel, COLLIDER_o117, MODEL_o142)

View File

@ -96,7 +96,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_CLOUDY_CLIMB) Set(GB_WorldLocation, LOCATION_CLOUDY_CLIMB)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_Scene_HuffNPuffAmbush)) Exec(N(EVS_Scene_HuffNPuffAmbush))
Call(HidePlayerShadow, TRUE) Call(HidePlayerShadow, TRUE)

View File

@ -18,7 +18,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupFoliage)) Exec(N(EVS_SetupFoliage))
Exec(N(EVS_SetupWell)) Exec(N(EVS_SetupWell))

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
EVT_FLOWER_SPAWN_REGION( -290, -190, 480, -90, 0) EVT_FLOWER_SPAWN_REGION( -290, -190, 480, -90, 0)

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(MakeTransformGroup, MODEL_g58) Call(MakeTransformGroup, MODEL_g58)
Call(MakeTransformGroup, MODEL_g73) Call(MakeTransformGroup, MODEL_g73)

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS) Set(GB_WorldLocation, LOCATION_FLOWER_FIELDS)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))

View File

@ -66,7 +66,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_SHOOTING_STAR_SUMMIT) Set(GB_WorldLocation, LOCATION_SHOOTING_STAR_SUMMIT)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_ShootingStarSummit, TRUE) Set(GF_MAP_ShootingStarSummit, TRUE)
Set(GF_MAC01_RowfBadgesChosen, FALSE) Set(GF_MAC01_RowfBadgesChosen, FALSE)
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)

View File

@ -95,7 +95,7 @@ EvtScript N(EVS_EnterStarBeam) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_STAR_WAY) Set(GB_WorldLocation, LOCATION_STAR_WAY)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_StarWay, TRUE) Set(GF_MAP_StarWay, TRUE)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)

View File

@ -6,7 +6,7 @@ EvtScript N(EVS_Main) = {
Wait(75) Wait(75)
EndIf EndIf
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)
Switch(LVar0) Switch(LVar0)
CaseEq(hos_10_ENTRY_1) CaseEq(hos_10_ENTRY_1)

View File

@ -49,7 +49,7 @@ EvtScript N(EVS_TexPan_MotionLines) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_TexPan_MotionLines)) Exec(N(EVS_TexPan_MotionLines))
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)
Switch(LVar0) Switch(LVar0)

View File

@ -26,7 +26,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_MT_RUGGED) Set(GB_WorldLocation, LOCATION_MT_RUGGED)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_TexPan_Water)) Exec(N(EVS_TexPan_Water))

View File

@ -50,7 +50,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_MT_RUGGED) Set(GB_WorldLocation, LOCATION_MT_RUGGED)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_TexPan_Water)) Exec(N(EVS_TexPan_Water))

View File

@ -15,7 +15,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_MT_RUGGED) Set(GB_WorldLocation, LOCATION_MT_RUGGED)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(SetMusicTrack, 0, SONG_MT_RUGGED, 0, 8) Call(SetMusicTrack, 0, SONG_MT_RUGGED, 0, 8)

View File

@ -11,7 +11,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_MT_RUGGED) Set(GB_WorldLocation, LOCATION_MT_RUGGED)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_BindSlideTriggers)) Exec(N(EVS_BindSlideTriggers))

View File

@ -21,7 +21,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupFoliage)) Exec(N(EVS_SetupFoliage))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupTrees)) Exec(N(EVS_SetupTrees))
Exec(N(EVS_SetupBushes)) Exec(N(EVS_SetupBushes))

View File

@ -15,7 +15,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupLogs)) Exec(N(EVS_SetupLogs))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_MakeEntities)) Exec(N(EVS_MakeEntities))
Exec(N(EVS_SetupPuzzle)) Exec(N(EVS_SetupPuzzle))
Exec(N(EVS_SetupTrees)) Exec(N(EVS_SetupTrees))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupVines)) Exec(N(EVS_SetupVines))
Exec(N(EVS_SetupTrees)) Exec(N(EVS_SetupTrees))

View File

@ -26,7 +26,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupTrees)) Exec(N(EVS_SetupTrees))

View File

@ -19,7 +19,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_JAN_17) Call(SetSpriteShading, SHADING_JAN_17)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(N(EnableFog)) Call(N(EnableFog))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitw, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitw, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -14,7 +14,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitse, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitse, COLLIDER_FLAGS_UPPER_MASK)
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitn, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitn, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -19,7 +19,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_JAN_19) Call(SetSpriteShading, SHADING_JAN_19)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(N(EnableFog)) Call(N(EnableFog))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitw, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitw, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -113,7 +113,7 @@ EvtScript N(D_8024202C_B861AC) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_JADE_JUNGLE) Set(GB_WorldLocation, LOCATION_JADE_JUNGLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o304, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o304, COLLIDER_FLAGS_UPPER_MASK)
Switch(GB_StoryProgress) Switch(GB_StoryProgress)
CaseLt(STORY_CH5_RAPHAEL_MOVED_ROOT) CaseLt(STORY_CH5_RAPHAEL_MOVED_ROOT)

View File

@ -48,7 +48,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_12) Call(SetSpriteShading, SHADING_KKJ_12)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GB_StoryProgress, STORY_CH6_BEGAN_PEACH_MISSION) IfEq(GB_StoryProgress, STORY_CH6_BEGAN_PEACH_MISSION)
Call(N(SetAvailableDisguise), PEACH_DISGUISE_KOOPATROL) Call(N(SetAvailableDisguise), PEACH_DISGUISE_KOOPATROL)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))

View File

@ -50,7 +50,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_13) Call(SetSpriteShading, SHADING_KKJ_13)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GB_StoryProgress, STORY_INTRO) IfEq(GB_StoryProgress, STORY_INTRO)
Call(MakeNpcs, FALSE, Ref(N(IntroNPCs))) Call(MakeNpcs, FALSE, Ref(N(IntroNPCs)))
EndIf EndIf

View File

@ -163,7 +163,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)
IfGe(LVar0, kkj_14_ENTRY_3) IfGe(LVar0, kkj_14_ENTRY_3)
IfNe(LVar0, kkj_14_ENTRY_B) IfNe(LVar0, kkj_14_ENTRY_B)

View File

@ -99,7 +99,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)
Switch(LVar0) Switch(LVar0)
CaseEq(kkj_15_ENTRY_2) CaseEq(kkj_15_ENTRY_2)

View File

@ -44,7 +44,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Switch(GB_StoryProgress) Switch(GB_StoryProgress)
CaseOrEq(STORY_CH2_BEGAN_PEACH_MISSION) CaseOrEq(STORY_CH2_BEGAN_PEACH_MISSION)
CaseOrEq(STORY_CH4_BEGAN_PEACH_MISSION) CaseOrEq(STORY_CH4_BEGAN_PEACH_MISSION)

View File

@ -30,7 +30,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_17) Call(SetSpriteShading, SHADING_KKJ_17)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMagicChest)) Exec(N(EVS_SetupMagicChest))
Call(UseDoorSounds, DOOR_SOUNDS_BASIC) Call(UseDoorSounds, DOOR_SOUNDS_BASIC)

View File

@ -106,7 +106,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GB_StoryProgress, STORY_CH4_BEGAN_PEACH_MISSION) IfEq(GB_StoryProgress, STORY_CH4_BEGAN_PEACH_MISSION)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
EndIf EndIf

View File

@ -197,7 +197,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Switch(GB_StoryProgress) Switch(GB_StoryProgress)
CaseEq(STORY_INTRO) CaseEq(STORY_INTRO)
Call(MakeNpcs, FALSE, Ref(N(IntroNPCs))) Call(MakeNpcs, FALSE, Ref(N(IntroNPCs)))

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_22) Call(SetSpriteShading, SHADING_KKJ_22)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))
Call(UseDoorSounds, DOOR_SOUNDS_LARGE) Call(UseDoorSounds, DOOR_SOUNDS_LARGE)
BindTrigger(Ref(N(EVS_ExitDoor_kkj_13_1)), TRIGGER_WALL_PRESS_A, COLLIDER_ttw, 1, 0) BindTrigger(Ref(N(EVS_ExitDoor_kkj_13_1)), TRIGGER_WALL_PRESS_A, COLLIDER_ttw, 1, 0)

View File

@ -54,7 +54,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_23) Call(SetSpriteShading, SHADING_KKJ_23)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GB_StoryProgress, STORY_CH6_BEGAN_PEACH_MISSION) IfEq(GB_StoryProgress, STORY_CH6_BEGAN_PEACH_MISSION)
Call(N(SetAvailableDisguise), PEACH_DISGUISE_KOOPATROL) Call(N(SetAvailableDisguise), PEACH_DISGUISE_KOOPATROL)
Call(MakeNpcs, FALSE, Ref(N(PeachNPCs))) Call(MakeNpcs, FALSE, Ref(N(PeachNPCs)))

View File

@ -96,7 +96,7 @@ EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_25) Call(SetSpriteShading, SHADING_KKJ_25)
Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE) Call(SetCamLeadPlayer, CAM_DEFAULT, FALSE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(SetCamSpeed, CAM_DEFAULT, Float(0.75)) Call(SetCamSpeed, CAM_DEFAULT, Float(0.75))
IfEq(GF_KKJ25_Defeated_Bowser, FALSE) IfEq(GF_KKJ25_Defeated_Bowser, FALSE)
IfEq(GF_KKJ25_Defeated_Kammy, FALSE) IfEq(GF_KKJ25_Defeated_Kammy, FALSE)

View File

@ -55,7 +55,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_KKJ_26) Call(SetSpriteShading, SHADING_KKJ_26)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(GetEntryID, LVar0) Call(GetEntryID, LVar0)
IfEq(LVar0, kkj_26_ENTRY_1) IfEq(LVar0, kkj_26_ENTRY_1)
Set(GB_StoryProgress, STORY_CH7_BEGAN_PEACH_MISSION) Set(GB_StoryProgress, STORY_CH7_BEGAN_PEACH_MISSION)

View File

@ -26,7 +26,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE) Set(GB_WorldLocation, LOCATION_PEACHS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(EnableGroup, MODEL_g40, FALSE) Call(EnableGroup, MODEL_g40, FALSE)
Call(UseDoorSounds, DOOR_SOUNDS_BASIC) Call(UseDoorSounds, DOOR_SOUNDS_BASIC)
BindTrigger(Ref(N(EVS_ExitDoor_kkj_10_2)), TRIGGER_WALL_PRESS_A, COLLIDER_tte, 1, 0) BindTrigger(Ref(N(EVS_ExitDoor_kkj_10_2)), TRIGGER_WALL_PRESS_A, COLLIDER_tte, 1, 0)

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_VILLAGE) Set(GB_WorldLocation, LOCATION_GOOMBA_VILLAGE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GF_KMR02_ReturnedWithGoompa, FALSE) IfEq(GF_KMR02_ReturnedWithGoompa, FALSE)
Call(MakeNpcs, FALSE, Ref(N(NpcsBefore))) Call(MakeNpcs, FALSE, Ref(N(NpcsBefore)))
Else Else

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD) Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -32,7 +32,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD) Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -14,7 +14,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD) Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_GoombaRoad, TRUE) Set(GF_MAP_GoombaRoad, TRUE)
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))

View File

@ -22,7 +22,7 @@ EvtScript N(D_80240828_8D8CF8) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD) Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
Call(ClearDefeatedEnemies) Call(ClearDefeatedEnemies)
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD) Set(GB_WorldLocation, LOCATION_GOOMBA_ROAD)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs))) Call(MakeNpcs, FALSE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -47,7 +47,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_CreateDarkness)) Exec(N(EVS_CreateDarkness))

View File

@ -22,7 +22,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_CreateDarkness)) Exec(N(EVS_CreateDarkness))

View File

@ -30,7 +30,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -31,7 +31,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tte, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_tte, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -35,7 +35,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -33,7 +33,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -70,7 +70,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(D_80240F84_A53844)) Exec(N(D_80240F84_A53844))

View File

@ -31,7 +31,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupStatues)) Exec(N(EVS_SetupStatues))

View File

@ -14,7 +14,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))
Exec(EnterWalk) Exec(EnterWalk)

View File

@ -34,7 +34,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupStatues)) Exec(N(EVS_SetupStatues))

View File

@ -34,7 +34,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -15,7 +15,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Exec(N(EVS_SetupStatues)) Exec(N(EVS_SetupStatues))
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))
Exec(EnterWalk) Exec(EnterWalk)
Wait(1) Wait(1)

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))
Exec(EnterWalk) Exec(EnterWalk)
Wait(1) Wait(1)

View File

@ -73,7 +73,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GF_KPA16_ShutOffLava, FALSE) IfEq(GF_KPA16_ShutOffLava, FALSE)
Call(EnableGroup, MODEL_after, FALSE) Call(EnableGroup, MODEL_after, FALSE)
Exec(N(EVS_TexPan_Lava)) Exec(N(EVS_TexPan_Lava))

View File

@ -49,7 +49,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
IfEq(GF_KPA16_ShutOffLava, FALSE) IfEq(GF_KPA16_ShutOffLava, FALSE)
Call(EnableGroup, MODEL_after, FALSE) Call(EnableGroup, MODEL_after, FALSE)

View File

@ -33,7 +33,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_ttw, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_ttw, COLLIDER_FLAGS_UPPER_MASK)
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -69,7 +69,7 @@ EvtScript N(EVS_BlastWall) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
IfEq(GF_KPA133_Item_BombedWall, FALSE) IfEq(GF_KPA133_Item_BombedWall, FALSE)

View File

@ -42,7 +42,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_SetupChains)) Exec(N(EVS_SetupChains))

View File

@ -214,7 +214,7 @@ EvtScript N(EVS_SetupLavaFall) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
IfEq(GF_KPA16_ShutOffLava, FALSE) IfEq(GF_KPA16_ShutOffLava, FALSE)
Call(EnableGroup, MODEL_after, FALSE) Call(EnableGroup, MODEL_after, FALSE)

View File

@ -35,7 +35,7 @@ EvtScript N(D_80240800_A59B90) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
IfEq(GF_KPA16_ShutOffLava, FALSE) IfEq(GF_KPA16_ShutOffLava, FALSE)
Call(EnableGroup, MODEL_after, FALSE) Call(EnableGroup, MODEL_after, FALSE)

View File

@ -108,7 +108,7 @@ LavaReset N(SafeFloorColliders)[] = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
IfEq(GF_KPA16_Defeated_SwitchGuards, TRUE) IfEq(GF_KPA16_Defeated_SwitchGuards, TRUE)
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o958, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_o958, COLLIDER_FLAGS_UPPER_MASK)
EndIf EndIf

View File

@ -43,7 +43,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))
Wait(1) Wait(1)
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))

View File

@ -75,7 +75,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))
Exec(N(EVS_SetupMusic)) Exec(N(EVS_SetupMusic))
Return Return

View File

@ -30,7 +30,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Call(SetGroupVisibility, MODEL_dw1, MODEL_GROUP_HIDDEN) Call(SetGroupVisibility, MODEL_dw1, MODEL_GROUP_HIDDEN)
Call(SetGroupVisibility, MODEL_dw2, MODEL_GROUP_HIDDEN) Call(SetGroupVisibility, MODEL_dw2, MODEL_GROUP_HIDDEN)

View File

@ -40,7 +40,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_ttw, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_ttw, COLLIDER_FLAGS_UPPER_MASK)
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_tte, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_CLEAR_BITS, COLLIDER_tte, COLLIDER_FLAGS_UPPER_MASK)

View File

@ -43,7 +43,7 @@ EvtScript N(EVS_EnterMap) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -72,7 +72,7 @@ EvtScript N(EVS_TexPan_Clouds) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
ExecWait(N(EVS_MakeEntities)) ExecWait(N(EVS_MakeEntities))
Exec(N(EVS_EnterMap)) Exec(N(EVS_EnterMap))

View File

@ -74,7 +74,7 @@ EvtScript N(EVS_Update_Gears) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs))) Call(MakeNpcs, TRUE, Ref(N(DefaultNPCs)))
Call(InitAnimatedModels) Call(InitAnimatedModels)
Exec(N(EVS_SetupChainDrive)) Exec(N(EVS_SetupChainDrive))

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))
Exec(EnterWalk) Exec(EnterWalk)
Wait(1) Wait(1)

View File

@ -13,7 +13,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE) Set(GB_WorldLocation, LOCATION_BOWSERS_CASTLE)
Call(SetSpriteShading, SHADING_NONE) Call(SetSpriteShading, SHADING_NONE)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitte, COLLIDER_FLAGS_UPPER_MASK) Call(ModifyColliderFlags, MODIFY_COLLIDER_FLAGS_SET_BITS, COLLIDER_deilitte, COLLIDER_FLAGS_UPPER_MASK)
Call(EnableModel, MODEL_o340, FALSE) Call(EnableModel, MODEL_o340, FALSE)
Set(LVar0, Ref(N(EVS_BindExitTriggers))) Set(LVar0, Ref(N(EVS_BindExitTriggers)))

View File

@ -15,7 +15,7 @@ EvtScript N(EVS_BindExitTriggers) = {
EvtScript N(EVS_Main) = { EvtScript N(EVS_Main) = {
Set(GB_WorldLocation, LOCATION_MT_LAVALAVA) Set(GB_WorldLocation, LOCATION_MT_LAVALAVA)
Call(SetSpriteShading, SHADING_KZN_01) Call(SetSpriteShading, SHADING_KZN_01)
SetUP_CAMERA_DEFAULT() EVT_SETUP_CAMERA_DEFAULT()
Set(GF_MAP_MtLavalava, TRUE) Set(GF_MAP_MtLavalava, TRUE)
IfLt(GB_StoryProgress, STORY_CH5_ENTERED_MT_LAVA_LAVA) IfLt(GB_StoryProgress, STORY_CH5_ENTERED_MT_LAVA_LAVA)
Set(GB_StoryProgress, STORY_CH5_ENTERED_MT_LAVA_LAVA) Set(GB_StoryProgress, STORY_CH5_ENTERED_MT_LAVA_LAVA)

Some files were not shown because too many files have changed in this diff Show More