mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +00:00
Add UNK_09 macro and other minor fixes
This commit is contained in:
parent
63bce05f37
commit
d3a6d4d2e1
5 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
<Root>
|
||||
<File Name="ice_doukutu_scene" Segment="2">
|
||||
<Scene Name="ice_doukutu_scene"/>
|
||||
<Cutscene Name="gIceCavernSerenadeCs" Offset="0x330"/>
|
||||
|
||||
<Scene Name="ice_doukutu_scene" Offset="0x0"/>
|
||||
</File>
|
||||
<File Name="ice_doukutu_room_0" Segment="3">
|
||||
<Room Name="ice_doukutu_room_0" Offset="0x0"/>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<Root>
|
||||
<File Name="spot12_scene" Segment="2">
|
||||
<Cutscene Offset="0x6490"/>
|
||||
<Cutscene Name="gSpot12Cs_006490" Offset="0x6490"/>
|
||||
|
||||
<Scene Name="spot12_scene" Offset="0x0"/>
|
||||
</File>
|
||||
<File Name="spot12_room_0" Segment="3">
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
<Scene Name="syotes_scene" Offset="0x0"/>
|
||||
</File>
|
||||
<File Name="syotes_room_0" Segment="3">
|
||||
<Room Name="syotes_room_0" Offset="0x0"/>
|
||||
<Room Name="syotes_room_0" HackMode="syotes_room" Offset="0x0"/>
|
||||
</File>
|
||||
</Root>
|
||||
|
|
|
@ -431,7 +431,7 @@ typedef enum {
|
|||
/* 0x06 */ SCENE_CMD_ID_ENTRANCE_LIST,
|
||||
/* 0x07 */ SCENE_CMD_ID_SPECIAL_FILES,
|
||||
/* 0x08 */ SCENE_CMD_ID_ROOM_BEHAVIOR,
|
||||
/* 0x09 */ SCENE_CMD_ID_UNUSED_09,
|
||||
/* 0x09 */ SCENE_CMD_ID_UNK_09,
|
||||
/* 0x0A */ SCENE_CMD_ID_MESH,
|
||||
/* 0x0B */ SCENE_CMD_ID_OBJECT_LIST,
|
||||
/* 0x0C */ SCENE_CMD_ID_LIGHT_LIST,
|
||||
|
@ -478,6 +478,9 @@ typedef enum {
|
|||
{ SCENE_CMD_ID_ROOM_BEHAVIOR, curRoomUnk3, \
|
||||
curRoomUnk2 | _SHIFTL(showInvisActors, 8, 1) | _SHIFTL(disableWarpSongs, 10, 1) }
|
||||
|
||||
#define SCENE_CMD_UNK_09() \
|
||||
{ SCENE_CMD_ID_UNK_09, 0, CMD_W(0) }
|
||||
|
||||
#define SCENE_CMD_MESH(meshHeader) \
|
||||
{ SCENE_CMD_ID_MESH, 0, CMD_PTR(meshHeader) }
|
||||
|
||||
|
|
|
@ -347,7 +347,7 @@ s32 EnXc_SerenadeCS(EnXc* this, GlobalContext* globalCtx) {
|
|||
s32 stateFlags = player->stateFlags1;
|
||||
if (CHECK_OWNED_EQUIP(EQUIP_BOOTS, 1) && !(gSaveContext.eventChkInf[5] & 4) && !(stateFlags & 0x20000000) &&
|
||||
!Gameplay_InCsMode(globalCtx)) {
|
||||
Cutscene_SetSegment(globalCtx, &ice_doukutu_sceneCutsceneData0x000330);
|
||||
Cutscene_SetSegment(globalCtx, &gIceCavernSerenadeCs);
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
gSaveContext.eventChkInf[5] |= 4; // Learned Serenade of Water Flag
|
||||
Item_Give(globalCtx, ITEM_SONG_SERENADE);
|
||||
|
|
Loading…
Reference in a new issue