Skip to content

Commit 1d2c28b

Browse files
committed
map6_s02: func_800D0500
1 parent 93c5131 commit 1d2c28b

9 files changed

Lines changed: 410 additions & 12 deletions

File tree

configs/maps/sym.map6_s02.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ MAP_MESSAGES = 0x800D3A4C; // type:u32 size:0x64
115115
//----------------------------------------------------
116116
//--- PA: 0x00A538 VA: 0x800D3AB0 subsegment: data
117117
//----------------------------------------------------
118+
D_800D3B44 = 0x800D3B44; // size:0x28
118119
sharedData_800DFB6C_0_s00 = 0x800D3CAC; // type:s32
119120
sharedData_800DFB70_0_s00 = 0x800D3CB0; // type:s32
120121
sharedData_800E1FF8_1_s02 = 0x800D3CBC; // size:0x14

configs/maps/sym.map7_s03.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ Ai_Alessa_Init = 0x800D3660; // type:func
122122
//--- PA: 0x00A10C VA: 0x800D3684 subsegment: c, Chara_BloodyIncubator
123123
//------------------------------------------------------------------------
124124
Ai_BloodyIncubator_Update = 0x800D3684; // type:func
125-
Ai_BloodyIncubator_AnimUpdate = 0x800D36F8; // type:func
125+
Ai_BloodyIncubator_AnimUpdate = 0x800D36F8; // type:func
126126
Ai_BloodyIncubator_Init = 0x800D3BA4; // type:func
127127

128128
//------------------------------------------------------------------
129129
//--- PA: 0x00A64C VA: 0x800D3BC4 subsegment: c, Chara_Incubator
130130
//------------------------------------------------------------------
131131
Ai_Incubator_Update = 0x800D3BC4; // type:func
132-
Ai_Incubator_AnimUpdate = 0x800D3C38; // type:func
132+
Ai_Incubator_AnimUpdate = 0x800D3C38; // type:func
133133
Ai_Incubator_Init = 0x800D3F38; // type:func
134134

135135
//-----------------------------------------------------------------

include/bodyprog/bodyprog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3271,9 +3271,9 @@ s32 func_80046DCC(s32 idx);
32713271

32723272
void func_80046E00(void);
32733273

3274-
void func_8004729C(u16 arg0);
3274+
void func_8004729C(u16 sfx);
32753275

3276-
void func_800472BC(s32 arg0);
3276+
void func_800472BC(s32 sfx);
32773277

32783278
void func_80047308(void);
32793279

include/bodyprog/sound_effects.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ typedef enum _SfxId
223223
Sfx_Unk1609 = 1609, // } Pair.
224224
Sfx_Unk1610 = 1610, // }
225225
Sfx_Unk1611 = 1611,
226+
Sfx_Unk1612 = 1612,
227+
Sfx_Unk1613 = 1613,
226228

227229
Sfx_Unk1617 = 1617,
228230

@@ -279,6 +281,12 @@ typedef enum _SfxId
279281

280282
Sfx_Unk1916 = 1916,
281283

284+
Sfx_Unk4108 = 4108,
285+
286+
Sfx_Unk4658 = 4658,
287+
288+
Sfx_Unk4661 = 4661,
289+
282290
Sfx_Unk4664 = 4664,
283291

284292
Sfx_Unk4699 = 4699,

include/event_flags.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ typedef enum _EventFlag
306306
EventFlag_412 = 412,
307307

308308
EventFlag_417 = 417,
309+
EventFlag_418 = 418,
310+
EventFlag_419 = 419,
309311

310312
EventFlag_423 = 423,
311313
EventFlag_424 = 424,
@@ -437,6 +439,7 @@ typedef enum _EventFlag
437439
EventFlag_584 = 584,
438440
EventFlag_586 = 586,
439441
EventFlag_587 = 587,
442+
EventFlag_588 = 588,
440443

441444
/** `MAP0_S01` common item pickups. */
442445

include/maps/map6/map6_s02.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
extern u16 D_800D3B40;
1515

16-
extern s_FsImageDesc D_800D3B44[2];
16+
extern s_FsImageDesc D_800D3B44[5];
1717

1818
extern u16 D_800D3B6C;
1919

@@ -32,6 +32,14 @@ extern s32 D_800D3C90;
3232

3333
extern s16 D_800D3C94;
3434

35+
extern s32 D_800D3C98;
36+
37+
extern u8 D_800D3C9C;
38+
39+
extern s16 D_800D3C9E;
40+
41+
extern s32 D_800D3CA0;
42+
3543
extern u8 D_800D4E08;
3644
extern s8 D_800D4E09;
3745

@@ -41,9 +49,17 @@ extern VECTOR3 D_800D4E1C;
4149

4250
extern s32 D_800D4E28;
4351

52+
extern s8 D_800D4E2C;
53+
54+
extern s8 D_800D4E2D;
55+
4456
void func_800CF0B8(void);
4557

4658
/** Func related to the UFO ending cutscene? */
4759
void func_800CFC34(void);
4860

61+
void func_800D0500(void);
62+
63+
void func_800D1330(s16);
64+
4965
#endif

src/bodyprog/libsd/bodyprog_80045A7C.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,14 +2067,14 @@ void func_80046E00(void) // 0x80046E00
20672067
}
20682068
}
20692069

2070-
void func_8004729C(u16 arg0) // 0x8004729C
2070+
void func_8004729C(u16 sfx) // 0x8004729C
20712071
{
2072-
func_800472BC(arg0);
2072+
func_800472BC(sfx);
20732073
}
20742074

2075-
void func_800472BC(s32 arg0) // 0x800472BC
2075+
void func_800472BC(s32 sfx) // 0x800472BC
20762076
{
2077-
D_800C1658.field_2 = arg0 & 0xFFF;
2077+
D_800C1658.field_2 = sfx & 0xFFF;
20782078
D_800C37DC = 1;
20792079

20802080
if (D_800C1658.field_4 != 0)

src/maps/map0_s01/map0_s01_events.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ void MapEvent_CafeCutscene() // 0x800DA980
226226

227227
case 21:
228228
SysWork_StateStepIncrementAfterTime(&g_Timer0, Q12(10.0f), Q12(141.0f), Q12(159.0f), true, true);
229-
func_8004729C(4108);
229+
func_8004729C(Sfx_Unk4108);
230230
break;
231231

232232
case 22:
233233
func_80085EB8(0, &g_SysWork.npcs_1A0[0], 7, false);
234-
Sd_EngineCmd(4108);
234+
Sd_EngineCmd(Sfx_Unk4108);
235235
SysWork_StateStepIncrement(0);
236236

237237
case 23:

0 commit comments

Comments
 (0)