wip on sf_A4B50 (probably fox_play), also names and cleanup (#43)

* objects?

* objects2?

* more stuff

* format

* even more cleanup

* RCP function names

* format

* NO U

* makerom too
This commit is contained in:
petrie911
2023-12-04 12:50:52 -06:00
committed by GitHub
parent b035b53569
commit 3a38f87ea5
34 changed files with 4987 additions and 1626 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ decompress: $(BASEROM)
extract:
@$(RM) -r asm/$(VERSION) bin/$(VERSION)
@echo "Unifying yamls..."
@$(CAT) yamls/$(VERSION)/header.yaml yamls/$(VERSION)/makerom.yaml yamls/$(VERSION)/main.yaml yamls/$(VERSION)/assets.yaml yamls/$(VERSION)/overlays.yaml > $(SPLAT_YAML)
@$(CAT) yamls/$(VERSION)/header.yaml yamls/$(VERSION)/main.yaml yamls/$(VERSION)/assets.yaml yamls/$(VERSION)/overlays.yaml > $(SPLAT_YAML)
@echo "Extracting..."
@$(SPLAT) $(SPLAT_YAML)
+2 -2
View File
@@ -80,7 +80,7 @@ extern u8* D_EBFBE0_801AECF8[];
extern UnkStruct_D_EBFBE0_801AED4C D_EBFBE0_801AED4C[24];
extern s8* D_EBFBE0_801AEEAC[];
extern const char* D_EBFBE0_801AEEAC[];
extern Gfx D_EBFBE0_801AEF30[];
@@ -89,7 +89,7 @@ extern f32 D_EBFBE0_801AEF84[];
extern f32 D_EBFBE0_801AEF90[];
extern f32 D_EBFBE0_801AEF9C[];
extern s8* D_EBFBE0_801AF0C4[];
extern const char* D_EBFBE0_801AF0C4[];
extern s32 D_EBFBE0_801AF0D0[];
extern s32 D_EBFBE0_801AF0DC[];
extern s32 D_EBFBE0_801AF0E8[];
+62 -53
View File
@@ -1,6 +1,7 @@
#ifndef FUNCTIONS_H
#define FUNCTIONS_H
#include "libc/stdbool.h"
#include "structs.h"
#include "fox_option.h"
@@ -67,31 +68,34 @@ void Fault_ThreadEntry(void*);
void func_80007FE4(FrameBuffer*, u16, u16);
void Fault_Init(void);
void func_8000FFCC(void);
u8* func_8001C3EC(void);
void func_80016A50(void);
void func_800182F4(s32);
void func_80019218(u32, Vec3f*, u8, f32*, f32*, s8*);
void func_8001A500(Vec3f*);
void func_8001A55C(f32*, u32);
void func_8001A838(u32 arg0);
void func_8001A838(u32);
void func_8001ACDC(s32);
void func_8001AE58(void);
s32 func_8001AE78(void);
s32 func_8001AED4(void);
void func_8001AF40(s32 arg0);
void func_8001AF40(s32);
void func_8001D1C8(s32, s32);
void func_8001D400(s32);
void func_8001D444(u8, u16, u8, u8);
void func_8001DA90(u8);
void func_8001DBD0(s32);
void func_8001DC6C(u8, u16);
void func_8000FFCC(void);
void func_8001D8A8(u8, u8);
void func_8001D8F4(u8);
void func_8001DCE0(void);
void func_8001DECC(void);
SPTask* func_8001DF50(void);
void func_8001EE00(void);
f32 func_8001FE60(f32);
f64 func_8001FE6C(f64);
s32 func_8001FE78(f32);
@@ -112,7 +116,6 @@ f32 func_8001FF40(f32);
f64 func_8001FF5C(f64);
s32 func_8001FF7C(f32);
s32 func_8001FF9C(f64);
f32 func_8001FAE4(f32);
f32 func_8001FB04(f32);
f64 func_8001FB24(f64);
@@ -139,39 +142,47 @@ s64 __ull_div(s64, s64);
s64 __ll_mul(s64, s64);
s64 __ll_rshift(s64, s64);
void func_8002E3E0(Object_2F4 *arg0);
void func_8002E3E0(Object_2F4 *);
void func_8002E548(void);
void func_8002F5F4(void);
void func_80035E48(Object_70 *);
void func_8003DAF0(void);
void func_8003DE68(s32, s32);
void func_80040CDC(void);
void func_80042FAC(Object_408 *);
void func_80042FD0(Object_408 *);
void func_800444BC(UnkStruct_D_80178280 *);
void func_80053658(UnkStruct_D_80161630 *);
void func_8005465C(s32);
u8 Overlay_Load(u8 arg0, u8 arg1);
void Overlay_InitDma(void);
void func_8005980C(f32 arg0);
void func_80057D00(void);
void func_8005980C(f32);
void func_8005F030(Vec3f*);
void func_8005F0E8(Vec3f*, Vec3f*);
void func_8005F1EC(Vec3f*);
void func_8005F290(Vec3f*, Vec3f*);
void func_8005F670(Vec3f*);
s32 func_8005F9DC(Vec3f*);
void func_80060FBC(Object*, Vec3f*);
s32 func_80060FE4(Vec3f* arg0, f32 arg1);
s32 func_80060FE4(Vec3f*, f32);
void func_800612B8(ObjectStruct_1C*, u32);
void func_80061364(Object_80*);
void func_80061394(Object_4C*);
void func_800613C4(Object_2F4*);
void func_80061474(Object_8C* arg0);
void func_80061404(Object_408*);
void func_80061444(Object_6C*);
void func_80061474(Object_8C*);
void func_80061B68(void);
void func_80061CD0(void);
void func_80061E48(Object_2F4* arg0, f32 arg1, f32 arg2, f32 arg3);
void func_80061F0C(Object_2F4* arg0, ObjectInit* arg1, s32 arg2);
void func_80062180(ObjectInit* arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
s32 func_800631A8(Vec3f*, f32*, Vec3f*);
s32 func_8006326C(Vec3f* arg0, s32 arg1, s32 arg2, Object* arg3);
s32 func_8006326C(Vec3f* arg0, Vec3f* arg1, s32 arg2, Object* arg3);
void func_800652CC(Object_80*);
void func_800654E4(Object *);
void func_800656D4(Object_2F4*);
@@ -182,7 +193,8 @@ void func_8006684C(Object_2F4*);
void func_800669A0(Object_2F4*);
void func_80066A80(Object_2F4*);
void func_80066C00(Object_80*);
void func_80066EF0(Object_6C *); /* extern */
void func_80066EA8(Object_80*);
void func_80066EF0(Object_6C *);
void func_800671D0(Object_6C *);
void func_800674B4(f32, f32, f32, f32, f32, f32, f32, f32);
void func_8006753C(Object_2F4*);
@@ -214,19 +226,25 @@ void func_80069F30(Object_6C *);
void func_80069FD4(Object_8C *);
void func_8006A06C(UnkStruct_D_80174750*);
void func_8006A38C(void);
void func_8006A3E8(void);
void func_8006B0A0(Object_2F4 *, s32);
void func_8006B74C(Object_2F4 *);
void func_8006EEFC(s32, f32, f32, f32, f32, f32, f32, f32, f32, f32);
void func_800763A4(Object_2F4 *, s32);
void func_8007717C(Object_2F4 *, s32);
void func_80077240(f32, f32, f32, s32);
void func_80078E50(f32, f32, f32, f32);
void func_800794CC(f32, f32, f32, f32);
void func_8007A6F0(Vec3f *, u32);
void func_8007ACE0(f32, f32, f32, f32, f32, f32);
void func_8007AFD0(f32, f32, f32, s32, f32);
void func_8007B228(f32, f32, f32, f32);
void func_8007BC7C(f32, f32, f32, f32);
void func_8007BFFC(f32, f32, f32, f32, f32, f32, f32, s32);
void func_8007C120(f32, f32, f32, f32, f32, f32, f32, s32);
void func_8007C484(f32, f32, f32, f32, f32, f32, f32, s32);
void func_8007D074(f32, f32, f32, f32);
void func_8007D0E0(f32, f32, f32, f32);
void func_8007D10C(f32, f32, f32, f32);
@@ -237,12 +255,13 @@ void func_80084370(s32);
void func_800843FC(s32);
void func_80084488(s32);
void func_80084688(s32, s32);
void func_80084B94(s32 arg0);
void func_80084B94(s32);
void func_800857DC(f32, f32, f32, f32);
void func_80085890(f32, f32, f32, f32);
void func_80086110(f32 arg0, f32 arg1, s32 arg2);
void func_80086110(f32, f32, s32);
void func_80086664(f32, f32);
void func_800869A0(f32 arg0, f32 arg1, s32 k, f32 arg3, s32 arg4, s32 arg5);
void func_800869A0(f32, f32, s32, f32, s32, s32);
void func_80087530(f32, f32, s32);
void func_8008865C(void);
void func_8008AD94(void);
@@ -252,23 +271,24 @@ void func_8008BD00(u8*, s32, s32, u8);
void func_8008C390(f32, f32, f32, s32);
void func_8008C5C8(f32, f32, f32, s32);
void func_8008C6F4(s32, s32);
s32 func_8008BCBC(s32 arg0);
s32 func_8008BCBC(s32);
void func_8008CA44(void);
s32 func_8008CB8C(void);
void func_8008D0DC(f32, f32, f32, f32, f32);
void func_8008DE68(void);
void func_8008E51C(s32* arg0, f32 arg1);
void func_8008E9EC(f32 arg0, f32 arg1);
void func_8008E51C(s32* , f32);
void func_8008E9EC(f32, f32);
void func_8008EA14(f32, f32);
void func_8008FA84(void);
void func_8008FFF0(Object_408* arg0, s32);
s32 func_8009092C(Object_2F4*);
void func_8008FFF0(Object_408*, s32);
bool func_8009092C(Object_2F4*);
s32 func_800915FC(Object_2F4*);
void func_80092D48(Object_2F4 *);
void func_80094D20(f32, f32);
s32 func_800998FC(Vec3f*, Vec3f*, Vec3f*, s32, Vec3f*, f32*);
void func_800A18B0(void);
void func_800A1980(void);
s32 func_800A1B6C(void);
bool func_800A1B6C(void);
void func_800A1C14(Gfx **);
void func_800A1E68(Gfx **);
void func_800A1F44(void);
@@ -276,10 +296,10 @@ void func_800A1FB0(Gfx **, u8 , u8);
void func_800A24DC(s32);
void func_800A26C0(void);
void func_800A25DC(void);
Object_2F4 *func_800A3608(s32 arg0);
Object_2F4 *func_800A3608(s32);
s32 func_800A3690(Vec3f*, Vec3f*, s32, Vec3f*);
void func_800A3CA0(void);
s32 func_800A3F50(s32);
s32 func_800A3F50(u16);
void func_800A5844(void);
void func_800A5D6C(void);
void func_800A6148(void);
@@ -291,28 +311,17 @@ void func_800BA808(u16*, s32);
void func_800BB5D0(void);
void Graphics_NMIWipe(void);
void func_800B6F50(f32, f32, f32, f32, f32, f32);
void func_800B9358(void);
void RCP_SetupDL_36(void);
void func_800C1ED4(void);
void func_800C20B0(void);
void func_800C2190(void);
u16* Message_PtrFromId(u16 msgId);
u16 Message_IdFromPtr(u16*);
s32 Message_GetWidth(u16* msgPtr);
s32 Message_GetCharCount(u16* msgPtr);
void Message_DisplayChar(Gfx** gfxPtr, u16 msgChar, s32 xpos, s32 ypos);
s32 Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len);
void Message_DisplayScrollingText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 yRangeHi, s32 yRangeLo, s32 len);
s32 Message_NotWhitespace(u16*, s32);
s32 Save_Write(void);
s32 Save_Read(void);
void func_EFFA40_80187520(s32, void*);
void func_DF4260_80198310(Object_408 *);
void func_DF4260_801878D8(Object_408 *);
void func_DF4260_801988E0(void);
void func_DF4260_8018B0B4(Object_2F4 *);
void func_DF4260_8018BE7C(Object_408 *);
void func_DF4260_8019250C(Object_2F4 *);
@@ -320,11 +329,16 @@ void func_DF4260_80192CB0(Object_2F4 *);
void func_DF4260_80192EA4(Object_2F4 *);
void func_DF4260_801933B4(Object_2F4 *);
void func_DF4260_801935CC(Object_408 *);
void func_DF4260_80198310(Object_408 *);
void func_DF4260_801988E0(void);
void func_E08400_80187B08(Object_2F4 *, s32);
void func_E08400_80188A40(Object_408 *);
void func_E16C50_80190F08(Object_2F4 *);
void func_E16C50_80187754(Object_408 *);
void func_E16C50_80190F08(Object_2F4 *);
void func_E16C50_801915A4(Object_2F4 *);
void func_E16C50_80191BB8(Object_2F4 *);
void func_E16C50_801932AC(Object_408 *);
void func_E16C50_8019B1F0(Object_2F4 *);
void func_E16C50_8019B810(Object_2F4 *);
@@ -339,20 +353,22 @@ void func_E16C50_801B6E54(Object_2F4 *);
void func_E16C50_801B7AF0(Object_2F4 *);
void func_E16C50_801BA57C(Object_2F4 *);
void func_E16C50_801BB26C(Object_2F4 *);
void func_E16C50_801915A4(Object_2F4 *);
void func_E16C50_80191BB8(Object_2F4 *);
void func_E51970_80193CA4(Object_408 *);
void func_E51970_80198594(Object_408 *, s32);
void func_E6A810_80189B80(Object_2F4 *);
void func_E6A810_8018ADC4(Object_2F4 *);
void func_E6A810_8018B720(Object_2F4 *, s32);
void func_E6A810_8018B96C(Object_2F4 *);
void func_E6A810_8018BFB0(Object_2F4 *);
void func_E6A810_8018E3B0(Object_2F4 *);
void func_E6A810_8018E3CC(Object_2F4 *);
void func_E6A810_8018E5E8(Object_2F4 *);
void func_E6A810_8018EFF0(Object_4C *);
void func_E6A810_8018F0D8(Object_80 *);
void func_E6A810_8018FA48(Object_408 *);
void func_E6A810_801990DC(Object_408 *, s32);
void func_E6A810_80199F8C(Object_2F4 *);
void func_E6A810_801A3E70(Object_2F4 *);
void func_E6A810_801A4660(Object_2F4 *);
@@ -364,18 +380,11 @@ void func_E6A810_801A7D98(Object_2F4 *);
s32 func_E6A810_801B6AEC(f32, f32, f32);
void func_E6A810_801B6E20(f32, f32, f32 *, f32 *, f32 *);
void func_E9F1D0_80197CC4(Object_408 *);
void func_E9F1D0_8018D16C(Object_408 *);
void func_E9F1D0_801888F4(Object_2F4 *, s32);
void func_E9F1D0_8018D16C(Object_408 *);
void func_E9F1D0_80197CC4(Object_408 *);
void func_EF0260_8018A96C(void);
void func_EF0260_8018AAC4(void);
void func_E08400_80187B08(Object_2F4 *, s32);
void func_E9F1D0_801888F4(Object_2F4 *, s32);
void func_E6A810_8018B720(Object_2F4 *, s32);
void func_E51970_80198594(Object_408 *, s32);
void func_E6A810_801990DC(Object_408 *, s32);
void func_E6A810_8018E3B0(Object_2F4 *);
#endif
+53 -53
View File
@@ -197,58 +197,58 @@ void func_800A1540(s32 arg0, s32 arg1, s32 arg2, s32 arg3);
void func_800A1558(f32 weight, u16 size, void *src1, void *src2, void *dst);
void RCP_SetupDL(Gfx** gfxP, s16 i);
void func_800B8E14(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B8F18(void);
void func_800B8F48(void);
void func_800B8F78(void);
void func_800B8FA8(void);
void func_800B8FD8(void);
void func_800B9008(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9120(void);
void func_800B9150(void);
void func_800B9180(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9298(void);
void func_800B92C8(void);
void func_800B92F8(void);
void func_800B9328(void);
void func_800B9358(void);
void func_800B9388(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B94A0(void);
void func_800B94D0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B95E8(void);
void func_800B9618(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9730(void);
void func_800B9760(void);
void func_800B9790(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B98A8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B99C0(void);
void func_800B99F0(void);
void func_800B9A20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9B38(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9C50(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9D68(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9E80(void);
void func_800B9EB0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800B9FC8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800BA0E0(void);
void func_800BA110(void);
void func_800BA140(void);
void func_800BA170(void);
void func_800BA1A0(void);
void func_800BA1D0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800BA2E8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void func_800BA400(void);
void func_800BA430(void);
void func_800BA460(void);
void func_800BA490(void);
void func_800BA4C0(void);
void func_800BA4F0(void);
void func_800BA520(void);
void func_800BA550(void);
void func_800BA580(void);
void func_800BA5B0(void);
void func_800BA5E0(void);
void func_800BA610(void);
void func_800BA640(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetFog(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_0(void);
void RCP_SetupDL_1(void);
void RCP_SetupDL_11(void);
void RCP_SetupDL_12(void);
void RCP_SetupDL_2(void);
void RCP_SetupDL_3(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_4(void);
void RCP_SetupDL_7(void);
void RCP_SetupDL_9(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_8(void);
void RCP_SetupDL_13(void);
void RCP_SetupDL_14(void);
void RCP_SetupDL_17(void);
void RCP_SetupDL_36(void);
void RCP_SetupDL_52(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_62(void);
void RCP_SetupDL_37(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_18(void);
void RCP_SetupDL_20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_19(void);
void RCP_SetupDL_21(void);
void RCP_SetupDL_33(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_34(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_40(void);
void RCP_SetupDL_42(void);
void RCP_SetupDL_43(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_60(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_47(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_66(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_55(void);
void RCP_SetupDL_57(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_45(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_46(void);
void RCP_SetupDL_41(void);
void RCP_SetupDL_64(void);
void RCP_SetupDL_64_2(void);
void RCP_SetupDL_23(void);
void RCP_SetupDL_29(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_30(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
void RCP_SetupDL_27(void);
void RCP_SetupDL_32(void);
void RCP_SetupDL_73(void);
void RCP_SetupDL_76(void);
void RCP_SetupDL_74(void);
void RCP_SetupDL_78(void);
void RCP_SetupDL_81(void);
void RCP_SetupDL_48(void);
void RCP_SetupDL_68(void);
void RCP_SetupDL_49(void);
void RCP_SetupDL_44(void);
void RCP_SetupDL_50(void);
void RCP_SetupDL_61(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far);
#endif
+1
View File
@@ -16,6 +16,7 @@
#include "structs.h"
#include "macros.h"
#include "sf64math.h"
#include "sf64mesg.h"
#include "gfx.h"
typedef enum {
+3
View File
@@ -64,6 +64,9 @@
#define SEGMENT_BSS_END(segment) (segment ## _BSS_END)
#define SEGMENT_BSS_SIZE(segment) ((uintptr_t)SEGMENT_BSS_END(segment) - (uintptr_t)SEGMENT_BSS_START(segment))
u8 Overlay_Load(u8, u8);
void Overlay_InitDma(void);
typedef struct {
/* 0x0 */ void* start;
/* 0x4 */ void* end;
+903
View File
@@ -0,0 +1,903 @@
#ifndef SF64_MESG
#define SF64_MESG
#include "libultra/ultra64.h"
#include "libc/stdbool.h"
typedef struct {
s32 msgId;
u16* msgPtr;
} MsgLookup;
extern u8 gTextCharTextures[24][16 * 13 / 2];
extern MsgLookup gMsgLookup[];
u16* Message_PtrFromId(u16 msgId);
u16 Message_IdFromPtr(u16*);
s32 Message_GetWidth(u16* msgPtr);
s32 Message_GetCharCount(u16* msgPtr);
void Message_DisplayChar(Gfx** gfxPtr, u16 msgChar, s32 xpos, s32 ypos);
bool Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len);
void Message_DisplayScrollingText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 yRangeHi, s32 yRangeLo, s32 len);
bool Message_IsPrintingChar(u16* msgPtr, s32 charPos);
typedef enum {
MSGCHAR_END,
MSGCHAR_NWL,
MSGCHAR_NP2,
MSGCHAR_NP3,
MSGCHAR_NP4,
MSGCHAR_NP5,
MSGCHAR_NP6,
MSGCHAR_NP7,
MSGCHAR_NP8,
MSGCHAR_NP9,
MSGCHAR_NPA,
MSGCHAR_NPB,
MSGCHAR_SPC,
MSGCHAR_QSP,
MSGCHAR_HSP,
MSGCHAR_NPF,
MSGCHAR_CLF,
MSGCHAR_CUP,
MSGCHAR_CRT,
MSGCHAR_CDN,
MSGCHAR_AUP,
MSGCHAR_ALF,
MSGCHAR_ADN,
MSGCHAR_ART,
MSGCHAR_A,
MSGCHAR_B,
MSGCHAR_C,
MSGCHAR_D,
MSGCHAR_E,
MSGCHAR_F,
MSGCHAR_G,
MSGCHAR_H,
MSGCHAR_I,
MSGCHAR_J,
MSGCHAR_K,
MSGCHAR_L,
MSGCHAR_M,
MSGCHAR_N,
MSGCHAR_O,
MSGCHAR_P,
MSGCHAR_Q,
MSGCHAR_R,
MSGCHAR_S,
MSGCHAR_T,
MSGCHAR_U,
MSGCHAR_V,
MSGCHAR_W,
MSGCHAR_X,
MSGCHAR_Y,
MSGCHAR_Z,
MSGCHAR_a,
MSGCHAR_b,
MSGCHAR_c,
MSGCHAR_d,
MSGCHAR_e,
MSGCHAR_f,
MSGCHAR_g,
MSGCHAR_h,
MSGCHAR_i,
MSGCHAR_j,
MSGCHAR_k,
MSGCHAR_l,
MSGCHAR_m,
MSGCHAR_n,
MSGCHAR_o,
MSGCHAR_p,
MSGCHAR_q,
MSGCHAR_r,
MSGCHAR_s,
MSGCHAR_t,
MSGCHAR_u,
MSGCHAR_v,
MSGCHAR_w,
MSGCHAR_x,
MSGCHAR_y,
MSGCHAR_z,
MSGCHAR_EXM,
MSGCHAR_QST,
MSGCHAR_DSH,
MSGCHAR_CMA,
MSGCHAR_PRD,
MSGCHAR_0,
MSGCHAR_1,
MSGCHAR_2,
MSGCHAR_3,
MSGCHAR_4,
MSGCHAR_5,
MSGCHAR_6,
MSGCHAR_7,
MSGCHAR_8,
MSGCHAR_9,
MSGCHAR_APS,
MSGCHAR_LPR,
MSGCHAR_RPR,
MSGCHAR_CLN,
MSGCHAR_PIP,
} MsgCharCode;
extern u16 gMsg_ID_1[914];
extern u16 gMsg_ID_60[46];
extern u16 gMsg_ID_10[32];
extern u16 gMsg_ID_20[30];
extern u16 gMsg_ID_30[34];
extern u16 gMsg_ID_40[40];
extern u16 gMsg_ID_50[52];
extern u16 gMsg_ID_1200[];
extern u16 gMsg_ID_1210[];
extern u16 gMsg_ID_1220[];
extern u16 gMsg_ID_1230[];
extern u16 gMsg_ID_1240[];
extern u16 gMsg_ID_1250[];
extern u16 gMsg_ID_1260[];
extern u16 gMsg_ID_1270[];
extern u16 gMsg_ID_1280[];
extern u16 gMsg_ID_1290[];
extern u16 gMsg_ID_1300[];
extern u16 gMsg_ID_1310[];
extern u16 gMsg_ID_1320[];
extern u16 gMsg_ID_1330[];
extern u16 gMsg_ID_1340[];
extern u16 gMsg_ID_1350[];
extern u16 gMsg_ID_1360[];
extern u16 gMsg_ID_1370[];
extern u16 gMsg_ID_1380[];
extern u16 gMsg_ID_1390[];
extern u16 gMsg_ID_1400[];
extern u16 gMsg_ID_1410[];
extern u16 gMsg_ID_1420[];
extern u16 gMsg_ID_1430[];
extern u16 gMsg_ID_1440[];
extern u16 gMsg_ID_1450[];
extern u16 gMsg_ID_1460[];
extern u16 gMsg_ID_1470[];
extern u16 gMsg_ID_2005[];
extern u16 gMsg_ID_2010[];
extern u16 gMsg_ID_2020[];
extern u16 gMsg_ID_2030[];
extern u16 gMsg_ID_2040[];
extern u16 gMsg_ID_2050[];
extern u16 gMsg_ID_2055[];
extern u16 gMsg_ID_2058[];
extern u16 gMsg_ID_2061[];
extern u16 gMsg_ID_2062[];
extern u16 gMsg_ID_2080[];
extern u16 gMsg_ID_2090[];
extern u16 gMsg_ID_2095[];
extern u16 gMsg_ID_2110[];
extern u16 gMsg_ID_2115[];
extern u16 gMsg_ID_2118[];
extern u16 gMsg_ID_2140[];
extern u16 gMsg_ID_2165[];
extern u16 gMsg_ID_2166[];
extern u16 gMsg_ID_2167[];
extern u16 gMsg_ID_2180[];
extern u16 gMsg_ID_2181[];
extern u16 gMsg_ID_2185[];
extern u16 gMsg_ID_2188[];
extern u16 gMsg_ID_2200[];
extern u16 gMsg_ID_2210[];
extern u16 gMsg_ID_2220[];
extern u16 gMsg_ID_2225[];
extern u16 gMsg_ID_2230[];
extern u16 gMsg_ID_2233[];
extern u16 gMsg_ID_2282[];
extern u16 gMsg_ID_2240[];
extern u16 gMsg_ID_2250[];
extern u16 gMsg_ID_2260[];
extern u16 gMsg_ID_2263[];
extern u16 gMsg_ID_2265[];
extern u16 gMsg_ID_2270[];
extern u16 gMsg_ID_2275[];
extern u16 gMsg_ID_2280[];
extern u16 gMsg_ID_2290[];
extern u16 gMsg_ID_2291[];
extern u16 gMsg_ID_2292[];
extern u16 gMsg_ID_2293[];
extern u16 gMsg_ID_2294[];
extern u16 gMsg_ID_2295[];
extern u16 gMsg_ID_2296[];
extern u16 gMsg_ID_2298[];
extern u16 gMsg_ID_2299[];
extern u16 gMsg_ID_2300[];
extern u16 gMsg_ID_2305[];
extern u16 gMsg_ID_2310[];
extern u16 gMsg_ID_2320[];
extern u16 gMsg_ID_2335[];
extern u16 gMsg_ID_2336[];
extern u16 gMsg_ID_2337[];
extern u16 gMsg_ID_3005[];
extern u16 gMsg_ID_3010[];
extern u16 gMsg_ID_3015[];
extern u16 gMsg_ID_3020[];
extern u16 gMsg_ID_3025[];
extern u16 gMsg_ID_3026[];
extern u16 gMsg_ID_3040[];
extern u16 gMsg_ID_3041[];
extern u16 gMsg_ID_3042[];
extern u16 gMsg_ID_3050[];
extern u16 gMsg_ID_3100[];
extern u16 gMsg_ID_3110[];
extern u16 gMsg_ID_3120[];
extern u16 gMsg_ID_3300[];
extern u16 gMsg_ID_3310[];
extern u16 gMsg_ID_3315[];
extern u16 gMsg_ID_3320[];
extern u16 gMsg_ID_3321[];
extern u16 gMsg_ID_3322[];
extern u16 gMsg_ID_3330[];
extern u16 gMsg_ID_3340[];
extern u16 gMsg_ID_3345[];
extern u16 gMsg_ID_3350[];
extern u16 gMsg_ID_3360[];
extern u16 gMsg_ID_3370[];
extern u16 gMsg_ID_3371[];
extern u16 gMsg_ID_4010[];
extern u16 gMsg_ID_4011[];
extern u16 gMsg_ID_4012[];
extern u16 gMsg_ID_4013[];
extern u16 gMsg_ID_4020[];
extern u16 gMsg_ID_4021[];
extern u16 gMsg_ID_4022[];
extern u16 gMsg_ID_4023[];
extern u16 gMsg_ID_4024[];
extern u16 gMsg_ID_4030[];
extern u16 gMsg_ID_4031[];
extern u16 gMsg_ID_4040[];
extern u16 gMsg_ID_4050[];
extern u16 gMsg_ID_4075[];
extern u16 gMsg_ID_4080[];
extern u16 gMsg_ID_4082[];
extern u16 gMsg_ID_4083[];
extern u16 gMsg_ID_4091[];
extern u16 gMsg_ID_4092[];
extern u16 gMsg_ID_4093[];
extern u16 gMsg_ID_4094[];
extern u16 gMsg_ID_4095[];
extern u16 gMsg_ID_4096[];
extern u16 gMsg_ID_4097[];
extern u16 gMsg_ID_4098[];
extern u16 gMsg_ID_4099[];
extern u16 gMsg_ID_4100[];
extern u16 gMsg_ID_4101[];
extern u16 gMsg_ID_4102[];
extern u16 gMsg_ID_4103[];
extern u16 gMsg_ID_4110[];
extern u16 gMsg_ID_4111[];
extern u16 gMsg_ID_4112[];
extern u16 gMsg_ID_4113[];
extern u16 gMsg_ID_5000[];
extern u16 gMsg_ID_5010[];
extern u16 gMsg_ID_5060[];
extern u16 gMsg_ID_5080[];
extern u16 gMsg_ID_5100[];
extern u16 gMsg_ID_5110[];
extern u16 gMsg_ID_5130[];
extern u16 gMsg_ID_5220[];
extern u16 gMsg_ID_5230[];
extern u16 gMsg_ID_5300[];
extern u16 gMsg_ID_5310[];
extern u16 gMsg_ID_5311[];
extern u16 gMsg_ID_5312[];
extern u16 gMsg_ID_5313[];
extern u16 gMsg_ID_5314[];
extern u16 gMsg_ID_5350[];
extern u16 gMsg_ID_5360[];
extern u16 gMsg_ID_5380[];
extern u16 gMsg_ID_5400[];
extern u16 gMsg_ID_5410[];
extern u16 gMsg_ID_5420[];
extern u16 gMsg_ID_5430[];
extern u16 gMsg_ID_5460[];
extern u16 gMsg_ID_5470[];
extern u16 gMsg_ID_5473[];
extern u16 gMsg_ID_5474[];
extern u16 gMsg_ID_5475[];
extern u16 gMsg_ID_5492[];
extern u16 gMsg_ID_5493[];
extern u16 gMsg_ID_5494[];
extern u16 gMsg_ID_5495[];
extern u16 gMsg_ID_5496[];
extern u16 gMsg_ID_5497[];
extern u16 gMsg_ID_5498[];
extern u16 gMsg_ID_5499[];
extern u16 gMsg_ID_5500[];
extern u16 gMsg_ID_5501[];
extern u16 gMsg_ID_5502[];
extern u16 gMsg_ID_5503[];
extern u16 gMsg_ID_5504[];
extern u16 gMsg_ID_5505[];
extern u16 gMsg_ID_5506[];
extern u16 gMsg_ID_6010[];
extern u16 gMsg_ID_6011[];
extern u16 gMsg_ID_6012[];
extern u16 gMsg_ID_6013[];
extern u16 gMsg_ID_6014[];
extern u16 gMsg_ID_6020[];
extern u16 gMsg_ID_6021[];
extern u16 gMsg_ID_6024[];
extern u16 gMsg_ID_6025[];
extern u16 gMsg_ID_6026[];
extern u16 gMsg_ID_6027[];
extern u16 gMsg_ID_6028[];
extern u16 gMsg_ID_6029[];
extern u16 gMsg_ID_6036[];
extern u16 gMsg_ID_6038[];
extern u16 gMsg_ID_6041[];
extern u16 gMsg_ID_6042[];
extern u16 gMsg_ID_6045[];
extern u16 gMsg_ID_6050[];
extern u16 gMsg_ID_6051[];
extern u16 gMsg_ID_6055[];
extern u16 gMsg_ID_6066[];
extern u16 gMsg_ID_6067[];
extern u16 gMsg_ID_6068[];
extern u16 gMsg_ID_6069[];
extern u16 gMsg_ID_6071[];
extern u16 gMsg_ID_6072[];
extern u16 gMsg_ID_6073[];
extern u16 gMsg_ID_6074[];
extern u16 gMsg_ID_6075[];
extern u16 gMsg_ID_6076[];
extern u16 gMsg_ID_6077[];
extern u16 gMsg_ID_6078[];
extern u16 gMsg_ID_6079[];
extern u16 gMsg_ID_6080[];
extern u16 gMsg_ID_6081[];
extern u16 gMsg_ID_6082[];
extern u16 gMsg_ID_6090[];
extern u16 gMsg_ID_6100[];
extern u16 gMsg_ID_6101[];
extern u16 gMsg_ID_7005[];
extern u16 gMsg_ID_7006[];
extern u16 gMsg_ID_7011[];
extern u16 gMsg_ID_7012[];
extern u16 gMsg_ID_7013[];
extern u16 gMsg_ID_7014[];
extern u16 gMsg_ID_7020[];
extern u16 gMsg_ID_7043[];
extern u16 gMsg_ID_7050[];
extern u16 gMsg_ID_7051[];
extern u16 gMsg_ID_7052[];
extern u16 gMsg_ID_7053[];
extern u16 gMsg_ID_7054[];
extern u16 gMsg_ID_7061[];
extern u16 gMsg_ID_7064[];
extern u16 gMsg_ID_7065[];
extern u16 gMsg_ID_7066[];
extern u16 gMsg_ID_7070[];
extern u16 gMsg_ID_7083[];
extern u16 gMsg_ID_7084[];
extern u16 gMsg_ID_7085[];
extern u16 gMsg_ID_7086[];
extern u16 gMsg_ID_7087[];
extern u16 gMsg_ID_7093[];
extern u16 gMsg_ID_7094[];
extern u16 gMsg_ID_7095[];
extern u16 gMsg_ID_7096[];
extern u16 gMsg_ID_7097[];
extern u16 gMsg_ID_7098[];
extern u16 gMsg_ID_7099[];
extern u16 gMsg_ID_7100[];
extern u16 gMsg_ID_8010[];
extern u16 gMsg_ID_8020[];
extern u16 gMsg_ID_8030[];
extern u16 gMsg_ID_8040[];
extern u16 gMsg_ID_8045[];
extern u16 gMsg_ID_8050[];
extern u16 gMsg_ID_8060[];
extern u16 gMsg_ID_8070[];
extern u16 gMsg_ID_8080[];
extern u16 gMsg_ID_8100[];
extern u16 gMsg_ID_8110[];
extern u16 gMsg_ID_8120[];
extern u16 gMsg_ID_8130[];
extern u16 gMsg_ID_8140[];
extern u16 gMsg_ID_8205[];
extern u16 gMsg_ID_8210[];
extern u16 gMsg_ID_8215[];
extern u16 gMsg_ID_8220[];
extern u16 gMsg_ID_8230[];
extern u16 gMsg_ID_8240[];
extern u16 gMsg_ID_8250[];
extern u16 gMsg_ID_8255[];
extern u16 gMsg_ID_8260[];
extern u16 gMsg_ID_8265[];
extern u16 gMsg_ID_8300[];
extern u16 gMsg_ID_8310[];
extern u16 gMsg_ID_8320[];
extern u16 gMsg_ID_9000[];
extern u16 gMsg_ID_9010[];
extern u16 gMsg_ID_9100[];
extern u16 gMsg_ID_9110[];
extern u16 gMsg_ID_9120[];
extern u16 gMsg_ID_9130[];
extern u16 gMsg_ID_9140[];
extern u16 gMsg_ID_9150[];
extern u16 gMsg_ID_9151[];
extern u16 gMsg_ID_9152[];
extern u16 gMsg_ID_9153[];
extern u16 gMsg_ID_9160[];
extern u16 gMsg_ID_9170[];
extern u16 gMsg_ID_9180[];
extern u16 gMsg_ID_9190[];
extern u16 gMsg_ID_9200[];
extern u16 gMsg_ID_9210[];
extern u16 gMsg_ID_9211[];
extern u16 gMsg_ID_9212[];
extern u16 gMsg_ID_9213[];
extern u16 gMsg_ID_9220[];
extern u16 gMsg_ID_9230[];
extern u16 gMsg_ID_9240[];
extern u16 gMsg_ID_9250[];
extern u16 gMsg_ID_9260[];
extern u16 gMsg_ID_9270[];
extern u16 gMsg_ID_9275[];
extern u16 gMsg_ID_9280[];
extern u16 gMsg_ID_9285[];
extern u16 gMsg_ID_9289[];
extern u16 gMsg_ID_9290[];
extern u16 gMsg_ID_9300[];
extern u16 gMsg_ID_9310[];
extern u16 gMsg_ID_9320[];
extern u16 gMsg_ID_9322[];
extern u16 gMsg_ID_9323[];
extern u16 gMsg_ID_9324[];
extern u16 gMsg_ID_9325[];
extern u16 gMsg_ID_9330[];
extern u16 gMsg_ID_9340[];
extern u16 gMsg_ID_9350[];
extern u16 gMsg_ID_9360[];
extern u16 gMsg_ID_9365[];
extern u16 gMsg_ID_9366[];
extern u16 gMsg_ID_9367[];
extern u16 gMsg_ID_9368[];
extern u16 gMsg_ID_9369[];
extern u16 gMsg_ID_9375[];
extern u16 gMsg_ID_9380[];
extern u16 gMsg_ID_9385[];
extern u16 gMsg_ID_9390[];
extern u16 gMsg_ID_9395[];
extern u16 gMsg_ID_9400[];
extern u16 gMsg_ID_9405[];
extern u16 gMsg_ID_9411[];
extern u16 gMsg_ID_9420[];
extern u16 gMsg_ID_9425[];
extern u16 gMsg_ID_9426[];
extern u16 gMsg_ID_9427[];
extern u16 gMsg_ID_9428[];
extern u16 gMsg_ID_9429[];
extern u16 gMsg_ID_9430[];
extern u16 gMsg_ID_9431[];
extern u16 gMsg_ID_9432[];
extern u16 gMsg_ID_9433[];
extern u16 gMsg_ID_9434[];
extern u16 gMsg_ID_9436[];
extern u16 gMsg_ID_9437[];
extern u16 gMsg_ID_9438[];
extern u16 gMsg_ID_10010[];
extern u16 gMsg_ID_10020[];
extern u16 gMsg_ID_10040[];
extern u16 gMsg_ID_10050[];
extern u16 gMsg_ID_10060[];
extern u16 gMsg_ID_10070[];
extern u16 gMsg_ID_10080[];
extern u16 gMsg_ID_10200[];
extern u16 gMsg_ID_10210[];
extern u16 gMsg_ID_10220[];
extern u16 gMsg_ID_10230[];
extern u16 gMsg_ID_10255[];
extern u16 gMsg_ID_10300[];
extern u16 gMsg_ID_10310[];
extern u16 gMsg_ID_10320[];
extern u16 gMsg_ID_10321[];
extern u16 gMsg_ID_10322[];
extern u16 gMsg_ID_10323[];
extern u16 gMsg_ID_10324[];
extern u16 gMsg_ID_11010[];
extern u16 gMsg_ID_11020[];
extern u16 gMsg_ID_11030[];
extern u16 gMsg_ID_11040[];
extern u16 gMsg_ID_11050[];
extern u16 gMsg_ID_11060[];
extern u16 gMsg_ID_11100[];
extern u16 gMsg_ID_11110[];
extern u16 gMsg_ID_11120[];
extern u16 gMsg_ID_11130[];
extern u16 gMsg_ID_11150[];
extern u16 gMsg_ID_11160[];
extern u16 gMsg_ID_11200[];
extern u16 gMsg_ID_11210[];
extern u16 gMsg_ID_11220[];
extern u16 gMsg_ID_11230[];
extern u16 gMsg_ID_11240[];
extern u16 gMsg_ID_11241[];
extern u16 gMsg_ID_14020[];
extern u16 gMsg_ID_14030[];
extern u16 gMsg_ID_14040[];
extern u16 gMsg_ID_14045[];
extern u16 gMsg_ID_14050[];
extern u16 gMsg_ID_14060[];
extern u16 gMsg_ID_14070[];
extern u16 gMsg_ID_14080[];
extern u16 gMsg_ID_14100[];
extern u16 gMsg_ID_14110[];
extern u16 gMsg_ID_14120[];
extern u16 gMsg_ID_14130[];
extern u16 gMsg_ID_14140[];
extern u16 gMsg_ID_14150[];
extern u16 gMsg_ID_14160[];
extern u16 gMsg_ID_14170[];
extern u16 gMsg_ID_14180[];
extern u16 gMsg_ID_14190[];
extern u16 gMsg_ID_14200[];
extern u16 gMsg_ID_14210[];
extern u16 gMsg_ID_14220[];
extern u16 gMsg_ID_14230[];
extern u16 gMsg_ID_14300[];
extern u16 gMsg_ID_14310[];
extern u16 gMsg_ID_14320[];
extern u16 gMsg_ID_14330[];
extern u16 gMsg_ID_14340[];
extern u16 gMsg_ID_14350[];
extern u16 gMsg_ID_14360[];
extern u16 gMsg_ID_14370[];
extern u16 gMsg_ID_15010[];
extern u16 gMsg_ID_15030[];
extern u16 gMsg_ID_15040[];
extern u16 gMsg_ID_15045[];
extern u16 gMsg_ID_15050[];
extern u16 gMsg_ID_15051[];
extern u16 gMsg_ID_15052[];
extern u16 gMsg_ID_15053[];
extern u16 gMsg_ID_15054[];
extern u16 gMsg_ID_15060[];
extern u16 gMsg_ID_15100[];
extern u16 gMsg_ID_15110[];
extern u16 gMsg_ID_15120[];
extern u16 gMsg_ID_15130[];
extern u16 gMsg_ID_15140[];
extern u16 gMsg_ID_15200[];
extern u16 gMsg_ID_15210[];
extern u16 gMsg_ID_15220[];
extern u16 gMsg_ID_15230[];
extern u16 gMsg_ID_15240[];
extern u16 gMsg_ID_15250[];
extern u16 gMsg_ID_15251[];
extern u16 gMsg_ID_15252[];
extern u16 gMsg_ID_15253[];
extern u16 gMsg_ID_15254[];
extern u16 gMsg_ID_16010[];
extern u16 gMsg_ID_16020[];
extern u16 gMsg_ID_16030[];
extern u16 gMsg_ID_16040[];
extern u16 gMsg_ID_16046[];
extern u16 gMsg_ID_16047[];
extern u16 gMsg_ID_16050[];
extern u16 gMsg_ID_16055[];
extern u16 gMsg_ID_16060[];
extern u16 gMsg_ID_16080[];
extern u16 gMsg_ID_16085[];
extern u16 gMsg_ID_16090[];
extern u16 gMsg_ID_16100[];
extern u16 gMsg_ID_16110[];
extern u16 gMsg_ID_16120[];
extern u16 gMsg_ID_16125[];
extern u16 gMsg_ID_16130[];
extern u16 gMsg_ID_16135[];
extern u16 gMsg_ID_16140[];
extern u16 gMsg_ID_16150[];
extern u16 gMsg_ID_16160[];
extern u16 gMsg_ID_16165[];
extern u16 gMsg_ID_16170[];
extern u16 gMsg_ID_16175[];
extern u16 gMsg_ID_16180[];
extern u16 gMsg_ID_16185[];
extern u16 gMsg_ID_16200[];
extern u16 gMsg_ID_16210[];
extern u16 gMsg_ID_16220[];
extern u16 gMsg_ID_16230[];
extern u16 gMsg_ID_16240[];
extern u16 gMsg_ID_16250[];
extern u16 gMsg_ID_16260[];
extern u16 gMsg_ID_16270[];
extern u16 gMsg_ID_16280[];
extern u16 gMsg_ID_17010[];
extern u16 gMsg_ID_17020[];
extern u16 gMsg_ID_17030[];
extern u16 gMsg_ID_17100[];
extern u16 gMsg_ID_17110[];
extern u16 gMsg_ID_17120[];
extern u16 gMsg_ID_17130[];
extern u16 gMsg_ID_17131[];
extern u16 gMsg_ID_17140[];
extern u16 gMsg_ID_17150[];
extern u16 gMsg_ID_17160[];
extern u16 gMsg_ID_17170[];
extern u16 gMsg_ID_17300[];
extern u16 gMsg_ID_17310[];
extern u16 gMsg_ID_17320[];
extern u16 gMsg_ID_17330[];
extern u16 gMsg_ID_17350[];
extern u16 gMsg_ID_17360[];
extern u16 gMsg_ID_17370[];
extern u16 gMsg_ID_17380[];
extern u16 gMsg_ID_17390[];
extern u16 gMsg_ID_17400[];
extern u16 gMsg_ID_17410[];
extern u16 gMsg_ID_17420[];
extern u16 gMsg_ID_17430[];
extern u16 gMsg_ID_17440[];
extern u16 gMsg_ID_17450[];
extern u16 gMsg_ID_17460[];
extern u16 gMsg_ID_17470[];
extern u16 gMsg_ID_17471[];
extern u16 gMsg_ID_17472[];
extern u16 gMsg_ID_17473[];
extern u16 gMsg_ID_17474[];
extern u16 gMsg_ID_17475[];
extern u16 gMsg_ID_17476[];
extern u16 gMsg_ID_18000[];
extern u16 gMsg_ID_18005[];
extern u16 gMsg_ID_18006[];
extern u16 gMsg_ID_18007[];
extern u16 gMsg_ID_18010[];
extern u16 gMsg_ID_18015[];
extern u16 gMsg_ID_18018[];
extern u16 gMsg_ID_18020[];
extern u16 gMsg_ID_18021[];
extern u16 gMsg_ID_18022[];
extern u16 gMsg_ID_18025[];
extern u16 gMsg_ID_18030[];
extern u16 gMsg_ID_18031[];
extern u16 gMsg_ID_18035[];
extern u16 gMsg_ID_18040[];
extern u16 gMsg_ID_18045[];
extern u16 gMsg_ID_18050[];
extern u16 gMsg_ID_18055[];
extern u16 gMsg_ID_18060[];
extern u16 gMsg_ID_18065[];
extern u16 gMsg_ID_18066[];
extern u16 gMsg_ID_18070[];
extern u16 gMsg_ID_18075[];
extern u16 gMsg_ID_18080[];
extern u16 gMsg_ID_18085[];
extern u16 gMsg_ID_18090[];
extern u16 gMsg_ID_18095[];
extern u16 gMsg_ID_18100[];
extern u16 gMsg_ID_18105[];
extern u16 gMsg_ID_18120[];
extern u16 gMsg_ID_18130[];
extern u16 gMsg_ID_18140[];
extern u16 gMsg_ID_18150[];
extern u16 gMsg_ID_19010[];
extern u16 gMsg_ID_19205[];
extern u16 gMsg_ID_19200[];
extern u16 gMsg_ID_19210[];
extern u16 gMsg_ID_19220[];
extern u16 gMsg_ID_19230[];
extern u16 gMsg_ID_19240[];
extern u16 gMsg_ID_19250[];
extern u16 gMsg_ID_19325[];
extern u16 gMsg_ID_19330[];
extern u16 gMsg_ID_19335[];
extern u16 gMsg_ID_19340[];
extern u16 gMsg_ID_19350[];
extern u16 gMsg_ID_19355[];
extern u16 gMsg_ID_19360[];
extern u16 gMsg_ID_19370[];
extern u16 gMsg_ID_19400[];
extern u16 gMsg_ID_19410[];
extern u16 gMsg_ID_19420[];
extern u16 gMsg_ID_19430[];
extern u16 gMsg_ID_19440[];
extern u16 gMsg_ID_19450[];
extern u16 gMsg_ID_19451[];
extern u16 gMsg_ID_19452[];
extern u16 gMsg_ID_19453[];
extern u16 gMsg_ID_19454[];
extern u16 gMsg_ID_19455[];
extern u16 gMsg_ID_19456[];
extern u16 gMsg_ID_19457[];
extern u16 gMsg_ID_19458[];
extern u16 gMsg_ID_19459[];
extern u16 gMsg_ID_19460[];
extern u16 gMsg_ID_19461[];
extern u16 gMsg_ID_19462[];
extern u16 gMsg_ID_19463[];
extern u16 gMsg_ID_19464[];
extern u16 gMsg_ID_19465[];
extern u16 gMsg_ID_19466[];
extern u16 gMsg_ID_19467[];
extern u16 gMsg_ID_19468[];
extern u16 gMsg_ID_20010[];
extern u16 gMsg_ID_20011[];
extern u16 gMsg_ID_20012[];
extern u16 gMsg_ID_20013[];
extern u16 gMsg_ID_20014[];
extern u16 gMsg_ID_20015[];
extern u16 gMsg_ID_20016[];
extern u16 gMsg_ID_20017[];
extern u16 gMsg_ID_20018[];
extern u16 gMsg_ID_20019[];
extern u16 gMsg_ID_20020[];
extern u16 gMsg_ID_20030[];
extern u16 gMsg_ID_20040[];
extern u16 gMsg_ID_20050[];
extern u16 gMsg_ID_20060[];
extern u16 gMsg_ID_20070[];
extern u16 gMsg_ID_20080[];
extern u16 gMsg_ID_20084[];
extern u16 gMsg_ID_20085[];
extern u16 gMsg_ID_20090[];
extern u16 gMsg_ID_20091[];
extern u16 gMsg_ID_20092[];
extern u16 gMsg_ID_20150[];
extern u16 gMsg_ID_20160[];
extern u16 gMsg_ID_20170[];
extern u16 gMsg_ID_20180[];
extern u16 gMsg_ID_20190[];
extern u16 gMsg_ID_20200[];
extern u16 gMsg_ID_20210[];
extern u16 gMsg_ID_20220[];
extern u16 gMsg_ID_20221[];
extern u16 gMsg_ID_20222[];
extern u16 gMsg_ID_20230[];
extern u16 gMsg_ID_20235[];
extern u16 gMsg_ID_20236[];
extern u16 gMsg_ID_20237[];
extern u16 gMsg_ID_20238[];
extern u16 gMsg_ID_20239[];
extern u16 gMsg_ID_20250[];
extern u16 gMsg_ID_20260[];
extern u16 gMsg_ID_20261[];
extern u16 gMsg_ID_20262[];
extern u16 gMsg_ID_20263[];
extern u16 gMsg_ID_20264[];
extern u16 gMsg_ID_20265[];
extern u16 gMsg_ID_20266[];
extern u16 gMsg_ID_20267[];
extern u16 gMsg_ID_20268[];
extern u16 gMsg_ID_20269[];
extern u16 gMsg_ID_20270[];
extern u16 gMsg_ID_20271[];
extern u16 gMsg_ID_20272[];
extern u16 gMsg_ID_20273[];
extern u16 gMsg_ID_20274[];
extern u16 gMsg_ID_20275[];
extern u16 gMsg_ID_20276[];
extern u16 gMsg_ID_20277[];
extern u16 gMsg_ID_20278[];
extern u16 gMsg_ID_20279[];
extern u16 gMsg_ID_20280[];
extern u16 gMsg_ID_20281[];
extern u16 gMsg_ID_20282[];
extern u16 gMsg_ID_20283[];
extern u16 gMsg_ID_20284[];
extern u16 gMsg_ID_20285[];
extern u16 gMsg_ID_20286[];
extern u16 gMsg_ID_20287[];
extern u16 gMsg_ID_20288[];
extern u16 gMsg_ID_20289[];
extern u16 gMsg_ID_20290[];
extern u16 gMsg_ID_20291[];
extern u16 gMsg_ID_20292[];
extern u16 gMsg_ID_20294[];
extern u16 gMsg_ID_20296[];
extern u16 gMsg_ID_20297[];
extern u16 gMsg_ID_20298[];
extern u16 gMsg_ID_20299[];
extern u16 gMsg_ID_20300[];
extern u16 gMsg_ID_20301[];
extern u16 gMsg_ID_20302[];
extern u16 gMsg_ID_20303[];
extern u16 gMsg_ID_20304[];
extern u16 gMsg_ID_20305[];
extern u16 gMsg_ID_20306[];
extern u16 gMsg_ID_20307[];
extern u16 gMsg_ID_20308[];
extern u16 gMsg_ID_20309[];
extern u16 gMsg_ID_20310[];
extern u16 gMsg_ID_20311[];
extern u16 gMsg_ID_20312[];
extern u16 gMsg_ID_20313[];
extern u16 gMsg_ID_20314[];
extern u16 gMsg_ID_20315[];
extern u16 gMsg_ID_20316[];
extern u16 gMsg_ID_20317[];
extern u16 gMsg_ID_20318[];
extern u16 gMsg_ID_20319[];
extern u16 gMsg_ID_20320[];
extern u16 gMsg_ID_20321[];
extern u16 gMsg_ID_20326[];
extern u16 gMsg_ID_20327[];
extern u16 gMsg_ID_20328[];
extern u16 gMsg_ID_20329[];
extern u16 gMsg_ID_20330[];
extern u16 gMsg_ID_20331[];
extern u16 gMsg_ID_20332[];
extern u16 gMsg_ID_20333[];
extern u16 gMsg_ID_20337[];
extern u16 gMsg_ID_20338[];
extern u16 gMsg_ID_20339[];
extern u16 gMsg_ID_20340[];
extern u16 gMsg_ID_20343[];
extern u16 gMsg_ID_20344[];
extern u16 gMsg_ID_20345[];
extern u16 gMsg_ID_21010[];
extern u16 gMsg_ID_21020[];
extern u16 gMsg_ID_21030[];
extern u16 gMsg_ID_21050[];
extern u16 gMsg_ID_21060[];
extern u16 gMsg_ID_21070[];
extern u16 gMsg_ID_21071[];
extern u16 gMsg_ID_21072[];
extern u16 gMsg_ID_21073[];
extern u16 gMsg_ID_21080[];
extern u16 gMsg_ID_21081[];
extern u16 gMsg_ID_21082[];
extern u16 gMsg_ID_21083[];
extern u16 gMsg_ID_21090[];
extern u16 gMsg_ID_21091[];
extern u16 gMsg_ID_21092[];
extern u16 gMsg_ID_21093[];
extern u16 gMsg_ID_22000[];
extern u16 gMsg_ID_22001[];
extern u16 gMsg_ID_22002[];
extern u16 gMsg_ID_22003[];
extern u16 gMsg_ID_22004[];
extern u16 gMsg_ID_22005[];
extern u16 gMsg_ID_22006[];
extern u16 gMsg_ID_22007[];
extern u16 gMsg_ID_22008[];
extern u16 gMsg_ID_22009[];
extern u16 gMsg_ID_22010[];
extern u16 gMsg_ID_22011[];
extern u16 gMsg_ID_22012[];
extern u16 gMsg_ID_22013[];
extern u16 gMsg_ID_22014[];
extern u16 gMsg_ID_22015[];
extern u16 gMsg_ID_22016[];
extern u16 gMsg_ID_22017[];
extern u16 gMsg_ID_22018[];
extern u16 gMsg_ID_22019[];
extern u16 gMsg_ID_22020[];
extern u16 gMsg_ID_23000[];
extern u16 gMsg_ID_23001[];
extern u16 gMsg_ID_23002[];
extern u16 gMsg_ID_23003[];
extern u16 gMsg_ID_23004[];
extern u16 gMsg_ID_23005[];
extern u16 gMsg_ID_23006[];
extern u16 gMsg_ID_23007[];
extern u16 gMsg_ID_23008[];
extern u16 gMsg_ID_23009[];
extern u16 gMsg_ID_23010[];
extern u16 gMsg_ID_23011[];
extern u16 gMsg_ID_23012[];
extern u16 gMsg_ID_23013[];
extern u16 gMsg_ID_23014[];
extern u16 gMsg_ID_23015[];
extern u16 gMsg_ID_23016[];
extern u16 gMsg_ID_23017[];
extern u16 gMsg_ID_23018[];
extern u16 gMsg_ID_23019[];
extern u16 gMsg_ID_23020[];
extern u16 gMsg_ID_23021[];
extern u16 gMsg_ID_23022[];
extern u16 gMsg_ID_23023[];
extern u16 gMsg_ID_23024[];
extern u16 gMsg_ID_23025[];
extern u16 gMsg_ID_23026[];
extern u16 gMsg_ID_23027[];
extern u16 gMsg_ID_23028[];
extern u16 gMsg_ID_23029[];
extern u16 gMsg_ID_23030[];
extern u16 gMsg_ID_23031[];
extern u16 gMsg_ID_23032[];
#endif
+110 -35
View File
@@ -6,11 +6,6 @@
#define UNK_TYPE s32
typedef struct {
s32 msgId;
u16* msgPtr;
} MsgLookup;
typedef void (*TimerAction)(s32*, s32);
typedef struct {
@@ -115,15 +110,6 @@ typedef struct {
/* 0x3 */ s8 unk_3;
} UnkStruct_D_8017797C; // size = 0x4
typedef struct {
/* 0x00 */ u8 unk_00;
/* 0x01 */ char pad01[0x1];
/* 0x02 */ u16 unk_02;
/* 0x04 */ Vec3f pos;
/* 0x10 */ f32 unk_10;
/* 0x14 */ char pad14[0x14];
} UnkStruct_D_80175A10; // size = 0x28
typedef struct {
/* 0x00 */ u8 unk_00;
/* 0x01 */ u8 unk_01;
@@ -143,6 +129,28 @@ typedef struct {
/* 0x38 */ f32 unk_38;
} UnkStruct_D_80161630; // size = 0x3C
typedef struct {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 unk_04;
/* 0x08 */ u16 unk_08;
/* 0x0A */ u16 unk_0A;
/* 0x0C */ s32 unk_0C;
/* 0x10 */ s32 unk_10;
/* 0x14 */ s32 unk_14;
/* 0x18 */ s32 unk_18;
/* 0x1C */ s32 unk_1C;
/* 0x20 */ f32 unk_20;
/* 0x24 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ s32 unk_2C;
/* 0x30 */ s32 unk_30;
/* 0x34 */ s32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ s32 unk_40;
/* 0x44 */ char pad44[0x60];
} UnkStruct_D_80161A68; // size = 0x44?
typedef struct UnkStruct_D_80178280 {
/* 0x000 */ char pad0[0xC];
/* 0x00C */ f32 unk_00C;
@@ -153,21 +161,39 @@ typedef struct UnkStruct_D_80178280 {
/* 0x04C */ Vec3f unk_04C;
/* 0x058 */ f32 unk_058;
/* 0x05C */ f32 unk_05C;
/* 0x060 */ char pad060[0x14];
/* 0x05C */ f32 unk_060;
/* 0x064 */ char pad064[0x10];
/* 0x074 */ f32 unk_074;
/* 0x078 */ f32 unk_078;
/* 0x07C */ f32 unk_07C;
/* 0x080 */ char pad80[0x2C];
/* 0x080 */ f32 unk_080;
/* 0x084 */ char pad84[4];
/* 0x088 */ f32 unk_088;
/* 0x08C */ char pad8C[4];
/* 0x090 */ f32 unk_090;
/* 0x094 */ f32 unk_094;
/* 0x098 */ f32 unk_098;
/* 0x09C */ char pad9C[0x10];
/* 0x0AC */ f32 unk_0AC;
/* 0x0B0 */ f32 unk_0B0;
/* 0x0B4 */ f32 unk_0B4;
/* 0x0B8 */ f32 unk_0B8;
/* 0x0BC */ f32 unk_0BC;
/* 0x0C0 */ f32 unk_0C0;
/* 0x0C4 */ f32 unk_0C4;
/* 0x0C8 */ char padC8[8];
/* 0x0C0 */ Vec3f unk_0C0;
/* 0x0CC */ char padCC[4];
/* 0x0D0 */ f32 unk_0D0;
/* 0x0D4 */ char padD4[0x3C];
/* 0x0D4 */ char padD4[4];
/* 0x0D8 */ Vec3f unk_0D8;
/* 0x0E4 */ f32 unk_0E4;
/* 0x0E8 */ f32 unk_0E8;
/* 0x0EC */ char padEC[4];
/* 0x0F0 */ f32 unk_0F0;
/* 0x0F4 */ f32 unk_0F4;
/* 0x0F8 */ f32 unk_0F8;
/* 0x0FC */ char padFC[8];
/* 0x104 */ f32 unk_104;
/* 0x108 */ char pad108[4];
/* 0x10C */ f32 unk_10C;
/* 0x110 */ f32 unk_110;
/* 0x114 */ f32 unk_114;
/* 0x118 */ f32 unk_118;
@@ -176,41 +202,63 @@ typedef struct UnkStruct_D_80178280 {
/* 0x124 */ f32 unk_124;
/* 0x128 */ char pad128[0x10];
/* 0x138 */ f32 unk_138;
/* 0x13C */ char pad13C[8];
/* 0x13C */ char pad13C[4];
/* 0x140 */ f32 unk_140;
/* 0x144 */ f32 unk_144;
/* 0x148 */ char pad148[0x54];
/* 0x19C */ s32 unk_19C;
/* 0x1A0 */ char pad1A0[0x28];
/* 0x1A0 */ char pad1A0[4];
/* 0x1A4 */ s32 unk_1A4;
/* 0x1A8 */ char pad1A8[0x1C];
/* 0x1C4 */ s32 unk_1C4;
/* 0x1C8 */ s32 unk_1C8;
/* 0x1CC */ s32 unk_1CC;
/* 0x1D0 */ s32 unk_1D0;
/* 0x1D4 */ char pad1D4[0x20];
/* 0x1D4 */ s32 unk_1D4;
/* 0x1D8 */ char pad1D8[0x1C];
/* 0x1F4 */ s32 unk_1F4;
/* 0x1F8 */ char pad1F8[0xC];
/* 0x1F8 */ s32 unk_1F8;
/* 0x1FC */ s32 unk_1FC;
/* 0x200 */ char pad200[4];
/* 0x204 */ s32 unk_204;
/* 0x208 */ char pad208[8];
/* 0x210 */ s32 unk_210;
/* 0x214 */ char pad214[0x10];
/* 0x214 */ char pad214[8];
/* 0x21C */ s32 unk_21C;
/* 0x220 */ s32 unk_220;
/* 0x224 */ s32 unk_224;
/* 0x228 */ s32 unk_228;
/* 0x22C */ char pad22C[0xC];
/* 0x22C */ s32 unk_22C;
/* 0x230 */ char pad230[8];
/* 0x238 */ s32 unk_238;
/* 0x23C */ char pad23C[0x28];
/* 0x23C */ s32 unk_23C;
/* 0x240 */ char pad240[0x24];
/* 0x264 */ s32 unk_264;
/* 0x268 */ char pad268[0x4];
/* 0x268 */ s32 unk_268;
/* 0x26C */ s32 unk_26C;
/* 0x270 */ char pad270[0xC];
/* 0x27C */ s32 unk_27C;
/* 0x280 */ char pad280[0x34];
/* 0x280 */ char pad280[4];
/* 0x284 */ s32 unk_284;
/* 0x288 */ s32 unk_288;
/* 0x28C */ char pad28C[0x28];
/* 0x2B4 */ s32 unk_2B4;
/* 0x2B8 */ char pad2B8[0x4];
/* 0x2BC */ f32 unk_2BC;
/* 0x2C0 */ char pad2C0[0x1A0];
/* 0x2C0 */ char pad2C0[8];
/* 0x2C8 */ Vec3f unk_2C8;
/* 0x2D4 */ Vec3f unk_2D4;
/* 0x2E0 */ Vec3f unk_2E0;
/* 0x2EC */ Vec3f unk_2EC;
/* 0x2F8 */ char pad2F8[0x168];
/* 0x460 */ Vec3f unk_460[1];
/* 0x46C */ char pad46C[0x30];
/* 0x46C */ char pad46C[0x2C];
/* 0x498 */ s32 unk_498;
/* 0x49C */ u8 unk_49C; // could be array
/* 0x49C */ u8 unk_49D;
/* 0x49E */ char pad49E[0x42];
/* 0x49E */ char pad49E[0x3A];
/* 0x4D8 */ f32 unk_4D8;
/* 0x4DC */ s32 unk_4DC;
} UnkStruct_D_80178280; // size = 0x4E0 Might be Player
typedef struct {
@@ -245,6 +293,28 @@ typedef struct {
/* 0x20 */ u8 unk_20;
} ObjectStruct_1C; // size = 0x24
typedef struct {
/* 0x00 */ u8 unk_00;
/* 0x01 */ char pad01[0x1];
/* 0x02 */ u16 unk_02;
/* 0x04 */ Vec3f pos;
/* 0x10 */ f32 unk_10;
/* 0x14 */ char pad14[0x14];
} UnkStruct_D_80175A10; // size = 0x28
typedef struct {
char unk_00[0x1C];
} UnkStruct_D_80176438;
typedef struct {
/* 0x00 */ Object obj;
/* 0x1C */ char pad1C[0x1C];
/* 0x38 */ Vec3f unk_38;
/* 0x44 */ char pad44[0x1C];
/* 0x60 */ s32 unk_60;
/* 0x64 */ char pad64[0xC];
} Object_70; // size = 0x70
typedef struct {
/* 0x00 */ Object obj;
/* 0x1C */ ObjectStruct_1C unk_1C;
@@ -359,17 +429,22 @@ typedef struct {
/* 0x074 */ f32 unk_074;
/* 0x078 */ char pad78[0xC];
/* 0x084 */ f32 unk_084;
/* 0x088 */ char pad88[0x3E];
/* 0x088 */ char pad88[0x1E];
/* 0x0A6 */ s16 unk_0A6;
/* 0x0A8 */ char padA8[0x1E];
/* 0x0C6 */ u16 unk_0C6;
/* 0x0C8 */ char padC8[1];
/* 0x0C9 */ u8 unk_0C9;
/* 0x0CA */ char padCA[0x12];
/* 0x0CA */ char padCA[6];
/* 0x0D0 */ s16 unk_0D0;
/* 0x0D2 */ char padD2[0xA];
/* 0x0DC */ f32 unk_0DC;
/* 0x0E0 */ f32 unk_0E0;
/* 0x0E4 */ f32 unk_0E4;
/* 0x0E8 */ char padE8[0x28];
/* 0x110 */ f32 unk_110;
/* 0x114 */ char pad114[0x1F4];
/* 0x114 */ f32 unk_114;
/* 0x118 */ char pad118[0x1F0];
/* 0x308 */ Vec3f unk_308;
/* 0x314 */ char pad314[0xE4];
/* 0x3F8 */ f32 unk_3F8;
+80 -28
View File
@@ -151,8 +151,7 @@ extern OSMesg D_80156608[4];
extern OSMesg D_80156618[1];
extern OSMesg D_8015661C[1];
extern Gfx D_8015DF0[];
extern u16 D_800C9C3C[16];
extern f32 D_800CBF18[];
extern ObjectStruct_1C D_800CC124[];
extern f32 D_800CF9B0[];
@@ -211,10 +210,11 @@ extern s32 D_800D2884[];
extern s32 D_800D2894[];
extern s32 D_800D28A4[];
extern s32 D_800D28B4[];
extern u8 D_800D3180[0x1E];
extern u8 D_800D3180[0x1E]; // might be bigger? at least 0x21
extern s32 D_800D4A70;
extern Save gDefaultSave;
extern s32 D_8015F90C;
extern s32 D_8015F924;
extern s32 D_8015F928;
extern s32 D_8015F930[3];
@@ -274,7 +274,13 @@ extern f32 D_80161A44;
extern u8 D_80161A50;
extern f32 D_80161A54;
extern s32 D_80161A5C;
extern u16 D_80161A60;
extern u16 D_80161A62;
extern s32 D_80161A64;
extern UnkStruct_D_80161A68* D_80161A68;
extern s32 D_80161A70;
extern s32 D_80161A74;
extern s32 D_80161A78;
extern s32 D_80161A88;
extern s32 D_80161A8C;
extern u8 D_80161A90[];
@@ -289,11 +295,10 @@ extern Object_2F4 D_80163FE0[60];
extern Object_408 D_8016F110[4];
extern Object_8C D_80170130[100];
extern Object_6C D_801737E0[20];
// extern size_70 D_80174050[16]
extern Object_70 D_80174050[16];
extern UnkStruct_D_80174750 D_80174750[100];
extern UnkStruct_D_80175A10 D_80175A10[64];
extern UnkStruct_D_80175A10 D_80176410;
// extern size_1C D_80176438[10]
extern UnkStruct_D_80175A10 D_80175A10[65];
extern UnkStruct_D_80176438 D_80176438[10];
extern s32 D_80176550[2];
extern f32 D_80176558[2][100];
extern f32 D_80176878[2][100];
@@ -353,7 +358,10 @@ extern s32 D_801779F8;
extern s32 D_80177A80;
extern s8 D_80177A98;
extern u8 D_80177AB0;
extern f32 D_80177AB8[];
extern s32 D_80177AD0[];
extern s32 D_80177AE0;
extern s32 D_80177AE8[];
extern s32 D_80177AF8;
extern s32 D_80177B40;
extern s32 D_80177B50[];
@@ -365,6 +373,7 @@ extern u16 D_80177C30[];
extern s32 D_80177C50;
extern u8 D_80177C74;
extern s32 D_80177C80[];
extern u16 D_80177C90;
extern s32 D_80177C94;
extern u8 D_80177C98;
extern s32 D_80177C9C;
@@ -377,12 +386,15 @@ extern s32 D_80177CBC;
extern s32 D_80177CC4;
extern f32 D_80177D08;
extern s32 D_80177D10[];
extern u16 D_8017D138;
extern f32 D_80177D20;
extern s32 D_80177D28[];
extern s32 D_80177D40[];
extern f32 D_80177D50;
extern s32 D_80177D58[];
extern f32 D_80177D68;
extern s32 D_80177D70[];
extern s32 D_80177D88[];
extern s32 D_80177DA0[];
extern s32 D_80177DB0;
extern s32 D_80177DC8;
@@ -390,21 +402,35 @@ extern s32 D_80177E70;
extern s32 D_80177E78;
extern s32 D_80177E80;
extern Vec3f D_80177E88;
extern Vec3f D_80177E98[];
extern Vec3f D_80177E98[10];
extern Vec3f D_80177F10;
extern s32 D_8017812C;
extern s32 D_80178234;
extern s32 D_8017827C;
extern UnkStruct_D_80178280* D_80178280;
extern s32 D_80178284;
extern f32* D_80178288;
extern s32 D_8017828C;
extern f32* D_80178290;
extern s32 D_80178294;
extern u32* D_80178298;
extern s32 D_8017829C;
extern s32 D_801782A4;
extern Object_58 *D_801782A8;
extern s32 D_801782B8;
extern s32 D_801782BC;
extern s32 D_801782C0;
extern f32 *D_801782C4;
extern f32 *D_801782CC;
extern s32 D_801782D0;
extern f32* D_801782D4;
extern s32 D_801782D8;
extern f32 *D_801782DC;
extern f32 *D_801782E4;
extern s32 D_801782E8;
extern f32 *D_801782EC;
extern s32 D_801782F8;
extern s32 D_801782FC;
extern s32 D_80178300;
extern u16* D_80178308;
extern ObjectInit* D_80178310;
@@ -416,6 +442,8 @@ extern s32 D_80178340;
extern s32 D_80178348;
extern s32 D_80178350;
extern s32 D_80178354;
extern s32 D_80178358;
extern s32 D_8017835C;
extern s32 D_80178360;
extern s32 D_80178364;
extern s32 D_80178368;
@@ -442,15 +470,39 @@ extern s32 D_80178480;
extern s32 D_80178488;
extern s32 D_801784A4;
extern s32 D_801784AC;
extern f32 D_801784B8;
extern f32 D_801784BC;
extern f32 D_801784C0;
extern f32 D_801784C4;
extern f32 D_801784C8;
extern f32 D_801784CC;
extern f32 D_801784D0;
extern f32 D_801784D4;
extern f32 D_801784D8;
extern s32 D_801784DC;
extern s32 D_801784E0;
extern s32 D_801784E4;
extern f32 D_801784F8;
extern f32 D_801784FC;
extern f32 D_80178500;
extern f32 D_80178520;
extern f32 D_80178524;
extern f32 D_80178528;
extern f32 D_8017853C;
extern s32 D_80178540;
extern s32 D_80178544;
extern s32 D_80178548;
extern s32 D_8017854C;
extern s32 D_80178550;
extern s32 D_80178554;
extern s32 D_80178558;
extern s32 D_8017855C;
extern s32 D_80178564;
extern s32 D_80178568;
extern s32 D_8017856C;
extern s32 D_80178570;
extern s32 D_80178574;
extern s32 D_80178578;
extern s32 D_80178580;
extern s32 *D_80178710;
extern u16** D_80178720;
@@ -473,26 +525,6 @@ extern Gfx D_Gfx_800DBAA0[];
extern Gfx D_Gfx_800DAC20[];
extern Gfx D_Gfx_800D9688[];
extern u8 gTextCharTextures[24][16 * 13 / 2];
extern u16 D_8017A0F4[];
extern u16 D_80182544[];
extern u16 D_80183CA8[];
extern u16 D_80183CF0[];
extern u16 D_80183D3C[];
extern u16 D_80183630[];
extern u16 D_8018366C[];
extern u16 D_80183690[];
extern u16 D_801836B0[];
extern u16 D_801836F8[];
extern u16 D_80183724[];
extern u16 D_80183900[];
extern u16 D_80183950[];
extern u16 D_8018398C[];
extern u16 D_801839B8[];
extern u16 D_80183A08[];
extern u16 D_80183A64[];
extern MsgLookup gMsgLookup[];
extern Gfx* D_DF4260_8019A008[];
extern Matrix D_E51970_8019EE80;
extern Gfx* D_E6A810_801B769C[];
@@ -653,6 +685,13 @@ extern Gfx D_3015D80[];
extern Gfx D_3016660[];
extern Gfx D_3011720[];
extern Gfx D_3005980[];
extern ObjectInit D_302DE3C[];
extern ObjectInit D_302E0E4[];
extern ObjectInit D_302E170[];
extern ObjectInit D_302E378[];
extern UnkStruct_D_80161A68 D_302DD70[];
extern UnkStruct_D_80161A68 D_302DDB4[];
extern UnkStruct_D_80161A68 D_302DDF8[];
extern Gfx D_40018A0[];
extern Gfx D_4003BD0[];
@@ -784,6 +823,18 @@ extern u16 D_6025500[];
extern u16 D_6026420[];
extern u16 D_6027340[];
extern Gfx D_605C230[];
extern Vtx D_6001C50[];
extern Vtx D_6004500[];
extern Vtx D_6009ED0[];
extern Vtx D_600C780[];
extern u16 D_6022760[];
extern u16 D_602AC50[];
extern f32 D_6032328[];
extern ObjectInit D_603B074[];
extern ObjectInit D_6030B14[];
extern Gfx D_6020760[];
extern UnkStruct_D_80161A68 D_602E584[];
extern u8 D_7000F10[];
extern u8 D_7001030[];
@@ -817,6 +868,7 @@ extern u8 D_80076E0[];
extern u8 D_800CD90[];
extern u8 D_800D070[];
extern u8 D_800D170[];
extern Gfx D_8015DF0[];
extern Gfx D_900D180[];
extern Gfx D_9010FD0[];
+921
View File
@@ -0,0 +1,921 @@
gMsg_ID_1 = 0x801799d0;
gMsg_ID_60 = 0x8017a0f4;
gMsg_ID_10 = 0x8017a150;
gMsg_ID_20 = 0x8017a190;
gMsg_ID_30 = 0x8017a1cc;
gMsg_ID_40 = 0x8017a210;
gMsg_ID_50 = 0x8017a260;
gMsg_ID_1200 = 0x8017a2c8;
gMsg_ID_1210 = 0x8017a35c;
gMsg_ID_1220 = 0x8017a3c8;
gMsg_ID_1230 = 0x8017a460;
gMsg_ID_1240 = 0x8017a498;
gMsg_ID_1250 = 0x8017a4f8;
gMsg_ID_1260 = 0x8017a538;
gMsg_ID_1270 = 0x8017a5bc;
gMsg_ID_1280 = 0x8017a5e4;
gMsg_ID_1290 = 0x8017a634;
gMsg_ID_1300 = 0x8017a658;
gMsg_ID_1310 = 0x8017a6f4;
gMsg_ID_1320 = 0x8017a70c;
gMsg_ID_1330 = 0x8017a794;
gMsg_ID_1340 = 0x8017a7bc;
gMsg_ID_1350 = 0x8017a83c;
gMsg_ID_1360 = 0x8017a884;
gMsg_ID_1370 = 0x8017a8f0;
gMsg_ID_1380 = 0x8017a920;
gMsg_ID_1390 = 0x8017a990;
gMsg_ID_1400 = 0x8017a9d8;
gMsg_ID_1410 = 0x8017aa18;
gMsg_ID_1420 = 0x8017aa48;
gMsg_ID_1430 = 0x8017aaa8;
gMsg_ID_1440 = 0x8017aad0;
gMsg_ID_1450 = 0x8017ab2c;
gMsg_ID_1460 = 0x8017ab4c;
gMsg_ID_1470 = 0x8017abe0;
gMsg_ID_2005 = 0x8017ac04;
gMsg_ID_2010 = 0x8017ac28;
gMsg_ID_2020 = 0x8017ac6c;
gMsg_ID_2030 = 0x8017aca0;
gMsg_ID_2040 = 0x8017ace4;
gMsg_ID_2050 = 0x8017ad14;
gMsg_ID_2055 = 0x8017ad6c;
gMsg_ID_2058 = 0x8017adb4;
gMsg_ID_2061 = 0x8017ade0;
gMsg_ID_2062 = 0x8017ae34;
gMsg_ID_2080 = 0x8017ae58;
gMsg_ID_2090 = 0x8017aea0;
gMsg_ID_2095 = 0x8017aeb4;
gMsg_ID_2110 = 0x8017aed8;
gMsg_ID_2115 = 0x8017af20;
gMsg_ID_2118 = 0x8017af6c;
gMsg_ID_2140 = 0x8017afc0;
gMsg_ID_2165 = 0x8017b010;
gMsg_ID_2166 = 0x8017b06c;
gMsg_ID_2167 = 0x8017b0b4;
gMsg_ID_2180 = 0x8017b108;
gMsg_ID_2181 = 0x8017b144;
gMsg_ID_2185 = 0x8017b168;
gMsg_ID_2188 = 0x8017b19c;
gMsg_ID_2200 = 0x8017b1e8;
gMsg_ID_2210 = 0x8017b21c;
gMsg_ID_2220 = 0x8017b234;
gMsg_ID_2225 = 0x8017b270;
gMsg_ID_2230 = 0x8017b2a4;
gMsg_ID_2233 = 0x8017b2cc;
gMsg_ID_2282 = 0x8017b31c;
gMsg_ID_2240 = 0x8017b368;
gMsg_ID_2250 = 0x8017b3a0;
gMsg_ID_2260 = 0x8017b3d4;
gMsg_ID_2263 = 0x8017b41c;
gMsg_ID_2265 = 0x8017b464;
gMsg_ID_2270 = 0x8017b4a8;
gMsg_ID_2275 = 0x8017b4b8;
gMsg_ID_2280 = 0x8017b508;
gMsg_ID_2290 = 0x8017b54c;
gMsg_ID_2291 = 0x8017b588;
gMsg_ID_2292 = 0x8017b5c4;
gMsg_ID_2293 = 0x8017b600;
gMsg_ID_2294 = 0x8017b610;
gMsg_ID_2295 = 0x8017b638;
gMsg_ID_2296 = 0x8017b65c;
gMsg_ID_2298 = 0x8017b69c;
gMsg_ID_2299 = 0x8017b6fc;
gMsg_ID_2300 = 0x8017b730;
gMsg_ID_2305 = 0x8017b788;
gMsg_ID_2310 = 0x8017b7a8;
gMsg_ID_2320 = 0x8017b7fc;
gMsg_ID_2335 = 0x8017b848;
gMsg_ID_2336 = 0x8017b8a0;
gMsg_ID_2337 = 0x8017b8ec;
gMsg_ID_3005 = 0x8017b930;
gMsg_ID_3010 = 0x8017b978;
gMsg_ID_3015 = 0x8017b9b4;
gMsg_ID_3020 = 0x8017b9fc;
gMsg_ID_3025 = 0x8017ba2c;
gMsg_ID_3026 = 0x8017ba60;
gMsg_ID_3040 = 0x8017ba98;
gMsg_ID_3041 = 0x8017bac4;
gMsg_ID_3042 = 0x8017bb00;
gMsg_ID_3050 = 0x8017bb34;
gMsg_ID_3100 = 0x8017bb78;
gMsg_ID_3110 = 0x8017bbcc;
gMsg_ID_3120 = 0x8017bc04;
gMsg_ID_3300 = 0x8017bc20;
gMsg_ID_3310 = 0x8017bc70;
gMsg_ID_3315 = 0x8017bcac;
gMsg_ID_3320 = 0x8017bcfc;
gMsg_ID_3321 = 0x8017bd34;
gMsg_ID_3322 = 0x8017bd58;
gMsg_ID_3330 = 0x8017bd88;
gMsg_ID_3340 = 0x8017bdac;
gMsg_ID_3345 = 0x8017bdfc;
gMsg_ID_3350 = 0x8017be58;
gMsg_ID_3360 = 0x8017be90;
gMsg_ID_3370 = 0x8017bed8;
gMsg_ID_3371 = 0x8017bf28;
gMsg_ID_4010 = 0x8017bf74;
gMsg_ID_4011 = 0x8017bfb8;
gMsg_ID_4012 = 0x8017c004;
gMsg_ID_4013 = 0x8017c050;
gMsg_ID_4020 = 0x8017c0a0;
gMsg_ID_4021 = 0x8017c0ec;
gMsg_ID_4022 = 0x8017c138;
gMsg_ID_4023 = 0x8017c188;
gMsg_ID_4024 = 0x8017c1ac;
gMsg_ID_4030 = 0x8017c1e4;
gMsg_ID_4031 = 0x8017c218;
gMsg_ID_4040 = 0x8017c264;
gMsg_ID_4050 = 0x8017c280;
gMsg_ID_4075 = 0x8017c2b0;
gMsg_ID_4080 = 0x8017c2c8;
gMsg_ID_4082 = 0x8017c324;
gMsg_ID_4083 = 0x8017c354;
gMsg_ID_4091 = 0x8017c380;
gMsg_ID_4092 = 0x8017c3a8;
gMsg_ID_4093 = 0x8017c3fc;
gMsg_ID_4094 = 0x8017c41c;
gMsg_ID_4095 = 0x8017c474;
gMsg_ID_4096 = 0x8017c4ac;
gMsg_ID_4097 = 0x8017c4f4;
gMsg_ID_4098 = 0x8017c544;
gMsg_ID_4099 = 0x8017c580;
gMsg_ID_4100 = 0x8017c5c0;
gMsg_ID_4101 = 0x8017c5f8;
gMsg_ID_4102 = 0x8017c648;
gMsg_ID_4103 = 0x8017c694;
gMsg_ID_4110 = 0x8017c6e8;
gMsg_ID_4111 = 0x8017c734;
gMsg_ID_4112 = 0x8017c748;
gMsg_ID_4113 = 0x8017c784;
gMsg_ID_5000 = 0x8017c7b8;
gMsg_ID_5010 = 0x8017c804;
gMsg_ID_5060 = 0x8017c83c;
gMsg_ID_5080 = 0x8017c894;
gMsg_ID_5100 = 0x8017c8c8;
gMsg_ID_5110 = 0x8017c910;
gMsg_ID_5130 = 0x8017c960;
gMsg_ID_5220 = 0x8017c998;
gMsg_ID_5230 = 0x8017c9f0;
gMsg_ID_5300 = 0x8017ca10;
gMsg_ID_5310 = 0x8017ca68;
gMsg_ID_5311 = 0x8017cab8;
gMsg_ID_5312 = 0x8017cb08;
gMsg_ID_5313 = 0x8017cb30;
gMsg_ID_5314 = 0x8017cb70;
gMsg_ID_5350 = 0x8017cbc0;
gMsg_ID_5360 = 0x8017cbfc;
gMsg_ID_5380 = 0x8017cc30;
gMsg_ID_5400 = 0x8017cc68;
gMsg_ID_5410 = 0x8017ccac;
gMsg_ID_5420 = 0x8017ccf0;
gMsg_ID_5430 = 0x8017cd1c;
gMsg_ID_5460 = 0x8017cd5c;
gMsg_ID_5470 = 0x8017cda8;
gMsg_ID_5473 = 0x8017cdf8;
gMsg_ID_5474 = 0x8017ce3c;
gMsg_ID_5475 = 0x8017ce74;
gMsg_ID_5492 = 0x8017cea0;
gMsg_ID_5493 = 0x8017cec8;
gMsg_ID_5494 = 0x8017cf08;
gMsg_ID_5495 = 0x8017cf30;
gMsg_ID_5496 = 0x8017cf64;
gMsg_ID_5497 = 0x8017cf8c;
gMsg_ID_5498 = 0x8017cfb8;
gMsg_ID_5499 = 0x8017cfe4;
gMsg_ID_5500 = 0x8017d010;
gMsg_ID_5501 = 0x8017d068;
gMsg_ID_5502 = 0x8017d0a4;
gMsg_ID_5503 = 0x8017d0e8;
gMsg_ID_5504 = 0x8017d138;
gMsg_ID_5505 = 0x8017d168;
gMsg_ID_5506 = 0x8017d1a4;
gMsg_ID_6010 = 0x8017d1d8;
gMsg_ID_6011 = 0x8017d228;
gMsg_ID_6012 = 0x8017d24c;
gMsg_ID_6013 = 0x8017d26c;
gMsg_ID_6014 = 0x8017d2b0;
gMsg_ID_6020 = 0x8017d2dc;
gMsg_ID_6021 = 0x8017d320;
gMsg_ID_6024 = 0x8017d358;
gMsg_ID_6025 = 0x8017d398;
gMsg_ID_6026 = 0x8017d3e0;
gMsg_ID_6027 = 0x8017d424;
gMsg_ID_6028 = 0x8017d46c;
gMsg_ID_6029 = 0x8017d488;
gMsg_ID_6036 = 0x8017d4e8;
gMsg_ID_6038 = 0x8017d508;
gMsg_ID_6041 = 0x8017d540;
gMsg_ID_6042 = 0x8017d580;
gMsg_ID_6045 = 0x8017d5d4;
gMsg_ID_6050 = 0x8017d628;
gMsg_ID_6051 = 0x8017d65c;
gMsg_ID_6055 = 0x8017d670;
gMsg_ID_6066 = 0x8017d698;
gMsg_ID_6067 = 0x8017d6dc;
gMsg_ID_6068 = 0x8017d724;
gMsg_ID_6069 = 0x8017d74c;
gMsg_ID_6071 = 0x8017d78c;
gMsg_ID_6072 = 0x8017d7c8;
gMsg_ID_6073 = 0x8017d804;
gMsg_ID_6074 = 0x8017d830;
gMsg_ID_6075 = 0x8017d874;
gMsg_ID_6076 = 0x8017d8bc;
gMsg_ID_6077 = 0x8017d8fc;
gMsg_ID_6078 = 0x8017d94c;
gMsg_ID_6079 = 0x8017d968;
gMsg_ID_6080 = 0x8017d988;
gMsg_ID_6081 = 0x8017d9d8;
gMsg_ID_6082 = 0x8017da1c;
gMsg_ID_6090 = 0x8017da54;
gMsg_ID_6100 = 0x8017da70;
gMsg_ID_6101 = 0x8017dac0;
gMsg_ID_7005 = 0x8017daf4;
gMsg_ID_7006 = 0x8017db2c;
gMsg_ID_7011 = 0x8017db74;
gMsg_ID_7012 = 0x8017dbb0;
gMsg_ID_7013 = 0x8017dbf8;
gMsg_ID_7014 = 0x8017dc28;
gMsg_ID_7020 = 0x8017dc54;
gMsg_ID_7043 = 0x8017dc9c;
gMsg_ID_7050 = 0x8017dcec;
gMsg_ID_7051 = 0x8017dd20;
gMsg_ID_7052 = 0x8017dd6c;
gMsg_ID_7053 = 0x8017dd90;
gMsg_ID_7054 = 0x8017ddb0;
gMsg_ID_7061 = 0x8017dde8;
gMsg_ID_7064 = 0x8017de34;
gMsg_ID_7065 = 0x8017de7c;
gMsg_ID_7066 = 0x8017decc;
gMsg_ID_7070 = 0x8017df1c;
gMsg_ID_7083 = 0x8017df4c;
gMsg_ID_7084 = 0x8017dfa0;
gMsg_ID_7085 = 0x8017dfe4;
gMsg_ID_7086 = 0x8017e014;
gMsg_ID_7087 = 0x8017e030;
gMsg_ID_7093 = 0x8017e07c;
gMsg_ID_7094 = 0x8017e0d4;
gMsg_ID_7095 = 0x8017e120;
gMsg_ID_7096 = 0x8017e174;
gMsg_ID_7097 = 0x8017e1bc;
gMsg_ID_7098 = 0x8017e1ec;
gMsg_ID_7099 = 0x8017e21c;
gMsg_ID_7100 = 0x8017e264;
gMsg_ID_8010 = 0x8017e280;
gMsg_ID_8020 = 0x8017e2c8;
gMsg_ID_8030 = 0x8017e318;
gMsg_ID_8040 = 0x8017e36c;
gMsg_ID_8045 = 0x8017e3a4;
gMsg_ID_8050 = 0x8017e3e4;
gMsg_ID_8060 = 0x8017e414;
gMsg_ID_8070 = 0x8017e440;
gMsg_ID_8080 = 0x8017e46c;
gMsg_ID_8100 = 0x8017e4a4;
gMsg_ID_8110 = 0x8017e4e0;
gMsg_ID_8120 = 0x8017e528;
gMsg_ID_8130 = 0x8017e574;
gMsg_ID_8140 = 0x8017e590;
gMsg_ID_8205 = 0x8017e5cc;
gMsg_ID_8210 = 0x8017e60c;
gMsg_ID_8215 = 0x8017e664;
gMsg_ID_8220 = 0x8017e6a0;
gMsg_ID_8230 = 0x8017e6b0;
gMsg_ID_8240 = 0x8017e6c0;
gMsg_ID_8250 = 0x8017e6d0;
gMsg_ID_8255 = 0x8017e720;
gMsg_ID_8260 = 0x8017e76c;
gMsg_ID_8265 = 0x8017e7b4;
gMsg_ID_8300 = 0x8017e800;
gMsg_ID_8310 = 0x8017e82c;
gMsg_ID_8320 = 0x8017e858;
gMsg_ID_9000 = 0x8017e8a8;
gMsg_ID_9010 = 0x8017e8e4;
gMsg_ID_9100 = 0x8017e934;
gMsg_ID_9110 = 0x8017e974;
gMsg_ID_9120 = 0x8017e9ac;
gMsg_ID_9130 = 0x8017e9fc;
gMsg_ID_9140 = 0x8017ea34;
gMsg_ID_9150 = 0x8017ea88;
gMsg_ID_9151 = 0x8017eacc;
gMsg_ID_9152 = 0x8017eaf0;
gMsg_ID_9153 = 0x8017eb14;
gMsg_ID_9160 = 0x8017eb44;
gMsg_ID_9170 = 0x8017eb9c;
gMsg_ID_9180 = 0x8017ebd4;
gMsg_ID_9190 = 0x8017ec24;
gMsg_ID_9200 = 0x8017ec60;
gMsg_ID_9210 = 0x8017ecac;
gMsg_ID_9211 = 0x8017ecf4;
gMsg_ID_9212 = 0x8017ed28;
gMsg_ID_9213 = 0x8017ed50;
gMsg_ID_9220 = 0x8017ed70;
gMsg_ID_9230 = 0x8017ed9c;
gMsg_ID_9240 = 0x8017edb8;
gMsg_ID_9250 = 0x8017ede0;
gMsg_ID_9260 = 0x8017ee28;
gMsg_ID_9270 = 0x8017ee80;
gMsg_ID_9275 = 0x8017eedc;
gMsg_ID_9280 = 0x8017ef14;
gMsg_ID_9285 = 0x8017ef50;
gMsg_ID_9289 = 0x8017efa0;
gMsg_ID_9290 = 0x8017eff0;
gMsg_ID_9300 = 0x8017f048;
gMsg_ID_9310 = 0x8017f090;
gMsg_ID_9320 = 0x8017f0d4;
gMsg_ID_9322 = 0x8017f114;
gMsg_ID_9323 = 0x8017f144;
gMsg_ID_9324 = 0x8017f194;
gMsg_ID_9325 = 0x8017f1dc;
gMsg_ID_9330 = 0x8017f218;
gMsg_ID_9340 = 0x8017f26c;
gMsg_ID_9350 = 0x8017f2a4;
gMsg_ID_9360 = 0x8017f2e8;
gMsg_ID_9365 = 0x8017f31c;
gMsg_ID_9366 = 0x8017f344;
gMsg_ID_9367 = 0x8017f37c;
gMsg_ID_9368 = 0x8017f3c8;
gMsg_ID_9369 = 0x8017f3ec;
gMsg_ID_9375 = 0x8017f410;
gMsg_ID_9380 = 0x8017f460;
gMsg_ID_9385 = 0x8017f4a8;
gMsg_ID_9390 = 0x8017f4f8;
gMsg_ID_9395 = 0x8017f540;
gMsg_ID_9400 = 0x8017f578;
gMsg_ID_9405 = 0x8017f5b0;
gMsg_ID_9411 = 0x8017f5ec;
gMsg_ID_9420 = 0x8017f630;
gMsg_ID_9425 = 0x8017f684;
gMsg_ID_9426 = 0x8017f6b0;
gMsg_ID_9427 = 0x8017f6fc;
gMsg_ID_9428 = 0x8017f72c;
gMsg_ID_9429 = 0x8017f754;
gMsg_ID_9430 = 0x8017f780;
gMsg_ID_9431 = 0x8017f7bc;
gMsg_ID_9432 = 0x8017f808;
gMsg_ID_9433 = 0x8017f844;
gMsg_ID_9434 = 0x8017f894;
gMsg_ID_9436 = 0x8017f8c8;
gMsg_ID_9437 = 0x8017f8f4;
gMsg_ID_9438 = 0x8017f920;
gMsg_ID_10010 = 0x8017f94c;
gMsg_ID_10020 = 0x8017f998;
gMsg_ID_10040 = 0x8017f9d8;
gMsg_ID_10050 = 0x8017fa00;
gMsg_ID_10060 = 0x8017fa28;
gMsg_ID_10070 = 0x8017fa94;
gMsg_ID_10080 = 0x8017fadc;
gMsg_ID_10200 = 0x8017fb14;
gMsg_ID_10210 = 0x8017fb6c;
gMsg_ID_10220 = 0x8017fb80;
gMsg_ID_10230 = 0x8017fbcc;
gMsg_ID_10255 = 0x8017fc00;
gMsg_ID_10300 = 0x8017fc40;
gMsg_ID_10310 = 0x8017fc88;
gMsg_ID_10320 = 0x8017fcc4;
gMsg_ID_10321 = 0x8017fd10;
gMsg_ID_10322 = 0x8017fd50;
gMsg_ID_10323 = 0x8017fd9c;
gMsg_ID_10324 = 0x8017fdf0;
gMsg_ID_11010 = 0x8017fe50;
gMsg_ID_11020 = 0x8017fe94;
gMsg_ID_11030 = 0x8017fed8;
gMsg_ID_11040 = 0x8017ff08;
gMsg_ID_11050 = 0x8017ff38;
gMsg_ID_11060 = 0x8017ff8c;
gMsg_ID_11100 = 0x8017ffcc;
gMsg_ID_11110 = 0x8018000c;
gMsg_ID_11120 = 0x80180060;
gMsg_ID_11130 = 0x801800b8;
gMsg_ID_11150 = 0x801800fc;
gMsg_ID_11160 = 0x80180138;
gMsg_ID_11200 = 0x80180178;
gMsg_ID_11210 = 0x801801a8;
gMsg_ID_11220 = 0x801801ec;
gMsg_ID_11230 = 0x80180238;
gMsg_ID_11240 = 0x80180278;
gMsg_ID_11241 = 0x801802a4;
gMsg_ID_14020 = 0x801802e0;
gMsg_ID_14030 = 0x8018031c;
gMsg_ID_14040 = 0x80180368;
gMsg_ID_14045 = 0x801803a8;
gMsg_ID_14050 = 0x80180400;
gMsg_ID_14060 = 0x80180458;
gMsg_ID_14070 = 0x801804ac;
gMsg_ID_14080 = 0x801804ec;
gMsg_ID_14100 = 0x8018052c;
gMsg_ID_14110 = 0x80180570;
gMsg_ID_14120 = 0x801805bc;
gMsg_ID_14130 = 0x80180608;
gMsg_ID_14140 = 0x80180644;
gMsg_ID_14150 = 0x801806a0;
gMsg_ID_14160 = 0x801806dc;
gMsg_ID_14170 = 0x8018070c;
gMsg_ID_14180 = 0x8018074c;
gMsg_ID_14190 = 0x80180784;
gMsg_ID_14200 = 0x801807d8;
gMsg_ID_14210 = 0x80180810;
gMsg_ID_14220 = 0x80180854;
gMsg_ID_14230 = 0x80180884;
gMsg_ID_14300 = 0x801808cc;
gMsg_ID_14310 = 0x80180900;
gMsg_ID_14320 = 0x80180948;
gMsg_ID_14330 = 0x80180980;
gMsg_ID_14340 = 0x801809ac;
gMsg_ID_14350 = 0x801809fc;
gMsg_ID_14360 = 0x80180a2c;
gMsg_ID_14370 = 0x80180a50;
gMsg_ID_15010 = 0x80180a9c;
gMsg_ID_15030 = 0x80180aec;
gMsg_ID_15040 = 0x80180b38;
gMsg_ID_15045 = 0x80180b8c;
gMsg_ID_15050 = 0x80180bac;
gMsg_ID_15051 = 0x80180be8;
gMsg_ID_15052 = 0x80180c38;
gMsg_ID_15053 = 0x80180c88;
gMsg_ID_15054 = 0x80180ce8;
gMsg_ID_15060 = 0x80180d20;
gMsg_ID_15100 = 0x80180d44;
gMsg_ID_15110 = 0x80180d80;
gMsg_ID_15120 = 0x80180db8;
gMsg_ID_15130 = 0x80180dec;
gMsg_ID_15140 = 0x80180e10;
gMsg_ID_15200 = 0x80180e38;
gMsg_ID_15210 = 0x80180e70;
gMsg_ID_15220 = 0x80180ec4;
gMsg_ID_15230 = 0x80180ef4;
gMsg_ID_15240 = 0x80180f30;
gMsg_ID_15250 = 0x80180f68;
gMsg_ID_15251 = 0x80180fb0;
gMsg_ID_15252 = 0x80180ffc;
gMsg_ID_15253 = 0x8018102c;
gMsg_ID_15254 = 0x80181080;
gMsg_ID_16010 = 0x801810b0;
gMsg_ID_16020 = 0x801810f8;
gMsg_ID_16030 = 0x80181134;
gMsg_ID_16040 = 0x80181154;
gMsg_ID_16046 = 0x8018119c;
gMsg_ID_16047 = 0x801811d8;
gMsg_ID_16050 = 0x80181220;
gMsg_ID_16055 = 0x8018126c;
gMsg_ID_16060 = 0x801812bc;
gMsg_ID_16080 = 0x801812e0;
gMsg_ID_16085 = 0x80181328;
gMsg_ID_16090 = 0x80181370;
gMsg_ID_16100 = 0x801813b0;
gMsg_ID_16110 = 0x801813f0;
gMsg_ID_16120 = 0x80181438;
gMsg_ID_16125 = 0x8018147c;
gMsg_ID_16130 = 0x801814d4;
gMsg_ID_16135 = 0x80181504;
gMsg_ID_16140 = 0x80181530;
gMsg_ID_16150 = 0x80181584;
gMsg_ID_16160 = 0x801815b0;
gMsg_ID_16165 = 0x8018160c;
gMsg_ID_16170 = 0x8018163c;
gMsg_ID_16175 = 0x80181664;
gMsg_ID_16180 = 0x80181698;
gMsg_ID_16185 = 0x801816c8;
gMsg_ID_16200 = 0x80181714;
gMsg_ID_16210 = 0x80181748;
gMsg_ID_16220 = 0x801817a0;
gMsg_ID_16230 = 0x801817dc;
gMsg_ID_16240 = 0x80181830;
gMsg_ID_16250 = 0x8018184c;
gMsg_ID_16260 = 0x80181874;
gMsg_ID_16270 = 0x801818a8;
gMsg_ID_16280 = 0x801818f4;
gMsg_ID_17010 = 0x80181930;
gMsg_ID_17020 = 0x80181980;
gMsg_ID_17030 = 0x801819d0;
gMsg_ID_17100 = 0x80181a24;
gMsg_ID_17110 = 0x80181a80;
gMsg_ID_17120 = 0x80181ab8;
gMsg_ID_17130 = 0x80181b0c;
gMsg_ID_17131 = 0x80181b60;
gMsg_ID_17140 = 0x80181b94;
gMsg_ID_17150 = 0x80181bf4;
gMsg_ID_17160 = 0x80181c30;
gMsg_ID_17170 = 0x80181c58;
gMsg_ID_17300 = 0x80181cb4;
gMsg_ID_17310 = 0x80181d10;
gMsg_ID_17320 = 0x80181d54;
gMsg_ID_17330 = 0x80181da4;
gMsg_ID_17350 = 0x80181e00;
gMsg_ID_17360 = 0x80181e4c;
gMsg_ID_17370 = 0x80181e98;
gMsg_ID_17380 = 0x80181edc;
gMsg_ID_17390 = 0x80181f28;
gMsg_ID_17400 = 0x80181f44;
gMsg_ID_17410 = 0x80181f8c;
gMsg_ID_17420 = 0x80181fd8;
gMsg_ID_17430 = 0x80182028;
gMsg_ID_17440 = 0x80182054;
gMsg_ID_17450 = 0x8018206c;
gMsg_ID_17460 = 0x80182090;
gMsg_ID_17470 = 0x801820d0;
gMsg_ID_17471 = 0x801820e8;
gMsg_ID_17472 = 0x8018211c;
gMsg_ID_17473 = 0x80182144;
gMsg_ID_17474 = 0x8018216c;
gMsg_ID_17475 = 0x801821a8;
gMsg_ID_17476 = 0x801821f4;
gMsg_ID_18000 = 0x80182210;
gMsg_ID_18005 = 0x8018225c;
gMsg_ID_18006 = 0x80182284;
gMsg_ID_18007 = 0x801822d8;
gMsg_ID_18010 = 0x80182314;
gMsg_ID_18015 = 0x8018236c;
gMsg_ID_18018 = 0x801823b0;
gMsg_ID_18020 = 0x801823e8;
gMsg_ID_18021 = 0x80182424;
gMsg_ID_18022 = 0x80182484;
gMsg_ID_18025 = 0x801824ac;
gMsg_ID_18030 = 0x80182504;
gMsg_ID_18031 = 0x80182544;
gMsg_ID_18035 = 0x80182584;
gMsg_ID_18040 = 0x801825a8;
gMsg_ID_18045 = 0x80182600;
gMsg_ID_18050 = 0x80182630;
gMsg_ID_18055 = 0x80182680;
gMsg_ID_18060 = 0x801826e0;
gMsg_ID_18065 = 0x80182728;
gMsg_ID_18066 = 0x80182774;
gMsg_ID_18070 = 0x801827a8;
gMsg_ID_18075 = 0x801827e4;
gMsg_ID_18080 = 0x80182824;
gMsg_ID_18085 = 0x80182844;
gMsg_ID_18090 = 0x8018287c;
gMsg_ID_18095 = 0x801828a0;
gMsg_ID_18100 = 0x801828c8;
gMsg_ID_18105 = 0x8018291c;
gMsg_ID_18120 = 0x80182940;
gMsg_ID_18130 = 0x80182980;
gMsg_ID_18140 = 0x801829b8;
gMsg_ID_18150 = 0x801829fc;
gMsg_ID_19010 = 0x80182a58;
gMsg_ID_19205 = 0x80182a94;
gMsg_ID_19200 = 0x80182ab0;
gMsg_ID_19210 = 0x80182af4;
gMsg_ID_19220 = 0x80182b4c;
gMsg_ID_19230 = 0x80182ba0;
gMsg_ID_19240 = 0x80182bf8;
gMsg_ID_19250 = 0x80182c4c;
gMsg_ID_19325 = 0x80182c80;
gMsg_ID_19330 = 0x80182cc0;
gMsg_ID_19335 = 0x80182d14;
gMsg_ID_19340 = 0x80182d68;
gMsg_ID_19350 = 0x80182d8c;
gMsg_ID_19355 = 0x80182da4;
gMsg_ID_19360 = 0x80182dc8;
gMsg_ID_19370 = 0x80182e18;
gMsg_ID_19400 = 0x80182e58;
gMsg_ID_19410 = 0x80182e7c;
gMsg_ID_19420 = 0x80182ea0;
gMsg_ID_19430 = 0x80182ecc;
gMsg_ID_19440 = 0x80182ef8;
gMsg_ID_19450 = 0x80182f34;
gMsg_ID_19451 = 0x80182f74;
gMsg_ID_19452 = 0x80182fa8;
gMsg_ID_19453 = 0x80182ff0;
gMsg_ID_19454 = 0x80183028;
gMsg_ID_19455 = 0x80183068;
gMsg_ID_19456 = 0x801830b0;
gMsg_ID_19457 = 0x80183110;
gMsg_ID_19458 = 0x8018314c;
gMsg_ID_19459 = 0x8018318c;
gMsg_ID_19460 = 0x801831b4;
gMsg_ID_19461 = 0x801831ec;
gMsg_ID_19462 = 0x80183204;
gMsg_ID_19463 = 0x80183244;
gMsg_ID_19464 = 0x80183280;
gMsg_ID_19465 = 0x801832ac;
gMsg_ID_19466 = 0x801832e4;
gMsg_ID_19467 = 0x80183338;
gMsg_ID_19468 = 0x80183380;
gMsg_ID_20010 = 0x801833c0;
gMsg_ID_20011 = 0x801833f0;
gMsg_ID_20012 = 0x8018341c;
gMsg_ID_20013 = 0x80183448;
gMsg_ID_20014 = 0x80183488;
gMsg_ID_20015 = 0x801834d4;
gMsg_ID_20016 = 0x8018350c;
gMsg_ID_20017 = 0x80183558;
gMsg_ID_20018 = 0x8018359c;
gMsg_ID_20019 = 0x801835d0;
gMsg_ID_20020 = 0x80183614;
gMsg_ID_20030 = 0x80183630;
gMsg_ID_20040 = 0x8018366c;
gMsg_ID_20050 = 0x80183690;
gMsg_ID_20060 = 0x801836b0;
gMsg_ID_20070 = 0x801836f8;
gMsg_ID_20080 = 0x80183724;
gMsg_ID_20084 = 0x80183760;
gMsg_ID_20085 = 0x801837b4;
gMsg_ID_20090 = 0x801837f8;
gMsg_ID_20091 = 0x8018380c;
gMsg_ID_20092 = 0x80183820;
gMsg_ID_20150 = 0x80183834;
gMsg_ID_20160 = 0x8018385c;
gMsg_ID_20170 = 0x80183898;
gMsg_ID_20180 = 0x801838dc;
gMsg_ID_20190 = 0x80183900;
gMsg_ID_20200 = 0x80183950;
gMsg_ID_20210 = 0x8018398c;
gMsg_ID_20220 = 0x801839b8;
gMsg_ID_20221 = 0x80183a08;
gMsg_ID_20222 = 0x80183a64;
gMsg_ID_20230 = 0x80183aac;
gMsg_ID_20235 = 0x80183afc;
gMsg_ID_20236 = 0x80183b40;
gMsg_ID_20237 = 0x80183b84;
gMsg_ID_20238 = 0x80183bc0;
gMsg_ID_20239 = 0x80183c00;
gMsg_ID_20250 = 0x80183c48;
gMsg_ID_20260 = 0x80183c80;
gMsg_ID_20261 = 0x80183ca8;
gMsg_ID_20262 = 0x80183cf0;
gMsg_ID_20263 = 0x80183d3c;
gMsg_ID_20264 = 0x80183d58;
gMsg_ID_20265 = 0x80183d6c;
gMsg_ID_20266 = 0x80183d80;
gMsg_ID_20267 = 0x80183d94;
gMsg_ID_20268 = 0x80183dc8;
gMsg_ID_20269 = 0x80183e04;
gMsg_ID_20270 = 0x80183e54;
gMsg_ID_20271 = 0x80183e6c;
gMsg_ID_20272 = 0x80183e90;
gMsg_ID_20273 = 0x80183ea8;
gMsg_ID_20274 = 0x80183ee8;
gMsg_ID_20275 = 0x80183f28;
gMsg_ID_20276 = 0x80183f64;
gMsg_ID_20277 = 0x80183fb0;
gMsg_ID_20278 = 0x80183ffc;
gMsg_ID_20279 = 0x80184020;
gMsg_ID_20280 = 0x8018406c;
gMsg_ID_20281 = 0x801840a8;
gMsg_ID_20282 = 0x801840ec;
gMsg_ID_20283 = 0x8018412c;
gMsg_ID_20284 = 0x80184168;
gMsg_ID_20285 = 0x801841ac;
gMsg_ID_20286 = 0x80184208;
gMsg_ID_20287 = 0x80184238;
gMsg_ID_20288 = 0x80184288;
gMsg_ID_20289 = 0x801842d0;
gMsg_ID_20290 = 0x801842f8;
gMsg_ID_20291 = 0x80184348;
gMsg_ID_20292 = 0x80184378;
gMsg_ID_20294 = 0x801843b0;
gMsg_ID_20296 = 0x801843c8;
gMsg_ID_20297 = 0x80184408;
gMsg_ID_20298 = 0x80184424;
gMsg_ID_20299 = 0x80184474;
gMsg_ID_20300 = 0x801844b0;
gMsg_ID_20301 = 0x801844ec;
gMsg_ID_20302 = 0x80184528;
gMsg_ID_20303 = 0x80184558;
gMsg_ID_20304 = 0x801845a8;
gMsg_ID_20305 = 0x801845f8;
gMsg_ID_20306 = 0x80184620;
gMsg_ID_20307 = 0x80184644;
gMsg_ID_20308 = 0x80184668;
gMsg_ID_20309 = 0x801846a0;
gMsg_ID_20310 = 0x801846d8;
gMsg_ID_20311 = 0x801846e8;
gMsg_ID_20312 = 0x801846fc;
gMsg_ID_20313 = 0x80184718;
gMsg_ID_20314 = 0x80184758;
gMsg_ID_20315 = 0x801847b0;
gMsg_ID_20316 = 0x801847d4;
gMsg_ID_20317 = 0x801847f8;
gMsg_ID_20318 = 0x8018481c;
gMsg_ID_20319 = 0x80184834;
gMsg_ID_20320 = 0x8018484c;
gMsg_ID_20321 = 0x80184864;
gMsg_ID_20326 = 0x8018487c;
gMsg_ID_20327 = 0x801848b8;
gMsg_ID_20328 = 0x801848f4;
gMsg_ID_20329 = 0x8018490c;
gMsg_ID_20330 = 0x80184960;
gMsg_ID_20331 = 0x801849b8;
gMsg_ID_20332 = 0x80184a04;
gMsg_ID_20333 = 0x80184a4c;
gMsg_ID_20337 = 0x80184a94;
gMsg_ID_20338 = 0x80184ae0;
gMsg_ID_20339 = 0x80184b2c;
gMsg_ID_20340 = 0x80184b7c;
gMsg_ID_20343 = 0x80184bd0;
gMsg_ID_20344 = 0x80184c1c;
gMsg_ID_20345 = 0x80184c68;
gMsg_ID_21010 = 0x80184cb4;
gMsg_ID_21020 = 0x80184cf8;
gMsg_ID_21030 = 0x80184d78;
gMsg_ID_21050 = 0x80184ddc;
gMsg_ID_21060 = 0x80184e18;
gMsg_ID_21070 = 0x80184e58;
gMsg_ID_21071 = 0x80184e80;
gMsg_ID_21072 = 0x80184ea4;
gMsg_ID_21073 = 0x80184ec4;
gMsg_ID_21080 = 0x80184ee8;
gMsg_ID_21081 = 0x80184f10;
gMsg_ID_21082 = 0x80184f34;
gMsg_ID_21083 = 0x80184f54;
gMsg_ID_21090 = 0x80184f78;
gMsg_ID_21091 = 0x80184fa0;
gMsg_ID_21092 = 0x80184fc4;
gMsg_ID_21093 = 0x80184fe4;
gMsg_ID_22000 = 0x80185008;
gMsg_ID_22001 = 0x8018501c;
gMsg_ID_22002 = 0x80185030;
gMsg_ID_22003 = 0x80185044;
gMsg_ID_22004 = 0x80185050;
gMsg_ID_22005 = 0x80185068;
gMsg_ID_22006 = 0x80185084;
gMsg_ID_22007 = 0x80185094;
gMsg_ID_22008 = 0x801850a8;
gMsg_ID_22009 = 0x801850bc;
gMsg_ID_22010 = 0x801850d8;
gMsg_ID_22011 = 0x801850e8;
gMsg_ID_22012 = 0x80185140;
gMsg_ID_22013 = 0x80185158;
gMsg_ID_22014 = 0x80185174;
gMsg_ID_22015 = 0x8018518c;
gMsg_ID_22016 = 0x801851a8;
gMsg_ID_22017 = 0x801851c4;
gMsg_ID_22018 = 0x801851d4;
gMsg_ID_22019 = 0x801851f0;
gMsg_ID_22020 = 0x8018520c;
gMsg_ID_23000 = 0x80185228;
gMsg_ID_23001 = 0x8018526c;
gMsg_ID_23002 = 0x801852d4;
gMsg_ID_23003 = 0x80185330;
gMsg_ID_23004 = 0x801853a8;
gMsg_ID_23005 = 0x80185400;
gMsg_ID_23006 = 0x80185458;
gMsg_ID_23007 = 0x801854a8;
gMsg_ID_23008 = 0x801854f8;
gMsg_ID_23009 = 0x80185564;
gMsg_ID_23010 = 0x801855bc;
gMsg_ID_23011 = 0x8018561c;
gMsg_ID_23012 = 0x80185674;
gMsg_ID_23013 = 0x801856bc;
gMsg_ID_23014 = 0x80185708;
gMsg_ID_23015 = 0x80185750;
gMsg_ID_23016 = 0x80185780;
gMsg_ID_23017 = 0x801857b0;
gMsg_ID_23018 = 0x801857f8;
gMsg_ID_23019 = 0x80185840;
gMsg_ID_23020 = 0x8018587c;
gMsg_ID_23021 = 0x801858c8;
gMsg_ID_23022 = 0x8018591c;
gMsg_ID_23023 = 0x8018596c;
gMsg_ID_23024 = 0x801859a8;
gMsg_ID_23025 = 0x80185a08;
gMsg_ID_23026 = 0x80185a6c;
gMsg_ID_23027 = 0x80185abc;
gMsg_ID_23028 = 0x80185b08;
gMsg_ID_23029 = 0x80185b48;
gMsg_ID_23030 = 0x80185ba0;
gMsg_ID_23031 = 0x80185c00;
gMsg_ID_23032 = 0x80185c68;
// D_8017B2CC = 0x8017B2CC;
// D_8017B730 = 0x8017B730;
// D_8017B7A8 = 0x8017B7A8;
// D_8017B7FC = 0x8017B7FC;
// D_8017B848 = 0x8017B848;
// gMsg_ID_5504 = 0x8017D138;
// D_8017E264 = 0x8017E264;
// D_8017E934 = 0x8017E934;
// D_8017E974 = 0x8017E974;
// D_8017E9AC = 0x8017E9AC;
// D_8017E9FC = 0x8017E9FC;
// D_8017EA34 = 0x8017EA34;
// D_8017EA88 = 0x8017EA88;
// D_8017EACC = 0x8017EACC;
// D_8017EAF0 = 0x8017EAF0;
// D_8017EB14 = 0x8017EB14;
// D_8017EB44 = 0x8017EB44;
// D_8017EB9C = 0x8017EB9C;
// D_8017EBD4 = 0x8017EBD4;
// D_8017EC24 = 0x8017EC24;
// D_8017EC60 = 0x8017EC60;
// D_8017ECAC = 0x8017ECAC;
// D_8017ECF4 = 0x8017ECF4;
// D_8017ED28 = 0x8017ED28;
// D_8017ED50 = 0x8017ED50;
// D_8017ED70 = 0x8017ED70;
// D_8017ED9C = 0x8017ED9C;
// D_8017EDB8 = 0x8017EDB8;
// D_8017EFA0 = 0x8017EFA0;
// D_8017EFF0 = 0x8017EFF0;
// D_8017F048 = 0x8017F048;
// D_8017F090 = 0x8017F090;
// D_8017F0D4 = 0x8017F0D4;
// D_8017F114 = 0x8017F114;
// D_8017F144 = 0x8017F144;
// D_8017F194 = 0x8017F194;
// D_8017F1DC = 0x8017F1DC;
// D_8017F218 = 0x8017F218;
// D_8017F26C = 0x8017F26C;
// D_8017F2A4 = 0x8017F2A4;
// D_8017F2E8 = 0x8017F2E8;
// D_8017F31C = 0x8017F31C;
// D_8017F344 = 0x8017F344;
// D_8017F37C = 0x8017F37C;
// D_8017F3C8 = 0x8017F3C8;
// D_8017F3EC = 0x8017F3EC;
// D_8017F8C8 = 0x8017F8C8;
// D_8017F8F4 = 0x8017F8F4;
// D_8017F920 = 0x8017F920;
// D_80180001 = 0x80180001;
// D_80180E38 = 0x80180E38;
// D_80180E70 = 0x80180E70;
// D_80180EC4 = 0x80180EC4;
// D_80180EF4 = 0x80180EF4;
// D_80180F30 = 0x80180F30;
// D_80180FFC = 0x80180FFC;
// D_8018102C = 0x8018102C;
// D_80181530 = 0x80181530;
// D_8018163C = 0x8018163C;
// D_80181664 = 0x80181664;
// D_80181698 = 0x80181698;
// D_801816C8 = 0x801816C8;
// D_80181C30 = 0x80181C30;
// D_8018236C = 0x8018236C;
// D_801823B0 = 0x801823B0;
// D_80182544 = 0x80182544;
// D_80182940 = 0x80182940;
// D_801829FC = 0x801829FC;
// D_80182F34 = 0x80182F34;
// D_80182F74 = 0x80182F74;
// D_80182FA8 = 0x80182FA8;
// D_80182FF0 = 0x80182FF0;
// D_80183028 = 0x80183028;
// D_80183068 = 0x80183068;
// D_801830B0 = 0x801830B0;
// D_80183110 = 0x80183110;
// D_8018314C = 0x8018314C;
// D_8018318C = 0x8018318C;
// D_801831B4 = 0x801831B4;
// D_801831EC = 0x801831EC;
// D_80183204 = 0x80183204;
// D_80183244 = 0x80183244;
// D_80183280 = 0x80183280;
// D_801832AC = 0x801832AC;
// D_801832E4 = 0x801832E4;
// D_801833F0 = 0x801833F0;
// D_8018341C = 0x8018341C;
// D_80183448 = 0x80183448;
// D_80183488 = 0x80183488;
// D_801834D4 = 0x801834D4;
// D_8018350C = 0x8018350C;
// D_80183558 = 0x80183558;
// D_8018359C = 0x8018359C;
// D_801835D0 = 0x801835D0;
// D_80183630 = 0x80183630;
// D_8018366C = 0x8018366C;
// D_80183690 = 0x80183690;
// D_801836B0 = 0x801836B0;
// D_801836F8 = 0x801836F8;
// D_80183724 = 0x80183724;
// D_80183760 = 0x80183760;
// D_801837B4 = 0x801837B4;
// D_801837F8 = 0x801837F8;
// D_8018380C = 0x8018380C;
// D_80183820 = 0x80183820;
// D_80183834 = 0x80183834;
// D_8018385C = 0x8018385C;
// D_80183898 = 0x80183898;
// D_801838DC = 0x801838DC;
// D_80183900 = 0x80183900;
// D_80183950 = 0x80183950;
// D_8018398C = 0x8018398C;
// D_801839B8 = 0x801839B8;
// D_80183A08 = 0x80183A08;
// D_80183A64 = 0x80183A64;
// D_80183AAC = 0x80183AAC;
// D_80183CA8 = 0x80183CA8;
// D_80183CF0 = 0x80183CF0;
// D_80183D3C = 0x80183D3C;
// D_8018406C = 0x8018406C;
// D_801840A8 = 0x801840A8;
// D_801840EC = 0x801840EC;
// D_801843C8 = 0x801843C8;
// D_80184408 = 0x80184408;
// D_80184424 = 0x80184424;
// D_80184474 = 0x80184474;
// D_801844B0 = 0x801844B0;
// D_801844EC = 0x801844EC;
// D_80184558 = 0x80184558;
// D_801845A8 = 0x801845A8;
// D_801845F8 = 0x801845F8;
// D_80184620 = 0x80184620;
// D_80184644 = 0x80184644;
// D_80184668 = 0x80184668;
// D_801846A0 = 0x801846A0;
// D_801846D8 = 0x801846D8;
// D_801846E8 = 0x801846E8;
// D_801846FC = 0x801846FC;
// D_8018481C = 0x8018481C;
// D_801849B8 = 0x801849B8;
// D_80184A04 = 0x80184A04;
// D_80184A4C = 0x80184A4C;
+11 -2
View File
@@ -8,13 +8,22 @@ D_800C57EC = 0x800C57EC;
D_800C7380 = 0x800C7380;
D_800C5FF4 = 0x800C5FF4; //type:u16 size:5000
D_80163FE0 = 0x80163FE0; //size:0xB130
gZBuffer = 0x80282000;
gFrameBuffers = 0x8038F800;
gDmaTable = 0x80178A70; //size:0x5A0
D_80178A70 = 0x80178A78; //ignore:true
D_80161B00 = 0x80161B00; //size:0x1900
D_80163400 = 0x80163400; //size:0xBE0
D_80163FE0 = 0x80163FE0; //size:0xB130
D_8016F110 = 0x8016F110; //size:0x1020
D_80170130 = 0x80170130; //size:0x36B0
D_801737E0 = 0x801737E0; //size:0x870
D_80174050 = 0x80174050; //size:0x700
D_80174750 = 0x80174750;//size:0x12C0
D_80175A10 = 0x80175A10;//size:0xA28
D_80176438 = 0x80176438;//size:0x18
D_800D3180 = 0x800D3180; // size:0x1E
gSetupDLs = 0x800D31B0; // size:0x18C0
+56 -1
View File
@@ -44,9 +44,64 @@ Graphics_DisplaySmallText = 0x800A1200;
Graphics_GetSmallTextWidth = 0x800A13EC;
func_800A1540 = 0x800A1540;
func_800A1558 = 0x800A1558;
RCP_SetupDL = 0x800B8DD0;
RCP_SetFog = 0x800B8E14;
RCP_SetupDL_0 = 0x800b8f18;
RCP_SetupDL_1 = 0x800b8f48;
RCP_SetupDL_11 = 0x800b8f78;
RCP_SetupDL_12 = 0x800b8fa8;
RCP_SetupDL_2 = 0x800b8fd8;
RCP_SetupDL_3 = 0x800b9008;
RCP_SetupDL_4 = 0x800b9120;
RCP_SetupDL_7 = 0x800b9150;
RCP_SetupDL_9 = 0x800b9180;
RCP_SetupDL_8 = 0x800b9298;
RCP_SetupDL_13 = 0x800b92c8;
RCP_SetupDL_14 = 0x800b92f8;
RCP_SetupDL_17 = 0x800b9328;
RCP_SetupDL_36 = 0x800b9358;
RCP_SetupDL_52 = 0x800b9388;
RCP_SetupDL_62 = 0x800b94a0;
RCP_SetupDL_37 = 0x800b94d0;
RCP_SetupDL_18 = 0x800b95e8;
RCP_SetupDL_20 = 0x800b9618;
RCP_SetupDL_19 = 0x800b9730;
RCP_SetupDL_21 = 0x800b9760;
RCP_SetupDL_33 = 0x800b9790;
RCP_SetupDL_34 = 0x800b98a8;
RCP_SetupDL_40 = 0x800b99c0;
RCP_SetupDL_42 = 0x800b99f0;
RCP_SetupDL_43 = 0x800b9a20;
RCP_SetupDL_60 = 0x800b9b38;
RCP_SetupDL_47 = 0x800b9c50;
RCP_SetupDL_66 = 0x800b9d68;
RCP_SetupDL_55 = 0x800b9e80;
RCP_SetupDL_57 = 0x800b9eb0;
RCP_SetupDL_45 = 0x800b9fc8;
RCP_SetupDL_46 = 0x800ba0e0;
RCP_SetupDL_41 = 0x800ba110;
RCP_SetupDL_64 = 0x800ba140;
RCP_SetupDL_64_2 = 0x800ba170;
RCP_SetupDL_23 = 0x800BA1A0;
RCP_SetupDL_29 = 0x800BA1D0;
RCP_SetupDL_30 = 0x800BA2E8;
RCP_SetupDL_27 = 0x800BA400;
RCP_SetupDL_32 = 0x800BA430;
RCP_SetupDL_73 = 0x800BA460;
RCP_SetupDL_76 = 0x800BA490;
RCP_SetupDL_74 = 0x800BA4C0;
RCP_SetupDL_78 = 0x800BA4F0;
RCP_SetupDL_81 = 0x800BA520;
RCP_SetupDL_48 = 0x800BA550;
RCP_SetupDL_68 = 0x800BA580;
RCP_SetupDL_49 = 0x800BA5B0;
RCP_SetupDL_44 = 0x800BA5E0;
RCP_SetupDL_50 = 0x800BA610;
RCP_SetupDL_61 = 0x800BA640;
gTextCharTextures = 0x80179010;
gMsgLookup = 0x80185CBC;
gDefaultSave = 0x800D4D10;
@@ -57,4 +112,4 @@ Message_GetCharCount = 0x800C2928;
Message_DisplayChar = 0x800C295C;
Message_DisplayText = 0x800C2AF0;
Message_DisplayScrollingText = 0x800C2D3C;
Message_NotWhitespace = 0x800C2F30;
Message_IsPrintingChar = 0x800C2F30;
+977 -976
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -36,9 +36,9 @@ void func_8002E3E0(Object_2F4* arg0) {
s32 func_8002E4F8(u16* arg0, s32 arg1) {
if ((D_8017829C == 0) && (D_80178280[0].unk_1C8 != 0)) {
func_800BA808(arg0, arg1);
return 1;
return true;
} else {
return 0;
return false;
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ void func_800843FC(s32 arg0) {
void func_80084488(s32 arg0) {
s32 var_s1;
func_800B8FA8();
RCP_SetupDL_12();
Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -150.0f, 0);
for (var_s1 = 0; var_s1 < MIN(360, arg0 * 15); var_s1 += 15) {
+5 -4
View File
@@ -1,4 +1,5 @@
#include "global.h"
#include "sf64dma.h"
extern void func_80187520(s32, void*);
@@ -82,7 +83,7 @@ void func_800A1980(void) {
func_8001D400(0);
}
s32 func_800A1B6C(void) {
bool func_800A1B6C(void) {
static u8 sHoldTimer = 0;
static u8 sOverlaySelect = 99;
static u8 sCurrentOverlay = 99;
@@ -100,9 +101,9 @@ s32 func_800A1B6C(void) {
if (sHoldTimer) {
sHoldTimer--;
return 1;
return true;
}
return 0;
return false;
}
void func_800A1C14(Gfx** arg0) {
@@ -291,7 +292,7 @@ void func_800A26C0(void) {
}
func_800A1C14(&gUnkDisp1);
func_800A25DC();
if (func_800A1B6C() != 1) {
if (func_800A1B6C() != true) {
Lib_Perspective(&gUnkDisp1);
func_800A1FB0(&gUnkDisp1, D_801778A8, 0);
if (D_8017783C != 0) {
+14 -14
View File
@@ -161,9 +161,9 @@ void Animation_DrawLimb(s32 mode, Limb* limb, Limb** skeleton, Vec3f* jointTable
}
if (!override) {
Matrix_Translate(gCalcMatrix, trans.x, trans.y, trans.z, 1);
Matrix_RotateZ(gCalcMatrix, rot.z * 0.017453292f, 1);
Matrix_RotateY(gCalcMatrix, rot.y * 0.017453292f, 1);
Matrix_RotateX(gCalcMatrix, rot.x * 0.017453292f, 1);
Matrix_RotateZ(gCalcMatrix, rot.z * M_DTOR, 1);
Matrix_RotateY(gCalcMatrix, rot.y * M_DTOR, 1);
Matrix_RotateX(gCalcMatrix, rot.x * M_DTOR, 1);
if (dList != NULL) {
if (mode >= 2) {
Matrix_MultVec3f(gCalcMatrix, &origin, &pos);
@@ -224,9 +224,9 @@ void Animation_DrawSkeleton(s32 mode, Limb** skeletonSegment, Vec3f* jointTable,
}
if (override == 0) {
Matrix_Translate(gCalcMatrix, baseTrans.x, baseTrans.y, baseTrans.z, 1);
Matrix_RotateZ(gCalcMatrix, baseRot.z * 0.017453292f, 1);
Matrix_RotateY(gCalcMatrix, baseRot.y * 0.017453292f, 1);
Matrix_RotateX(gCalcMatrix, baseRot.x * 0.017453292f, 1);
Matrix_RotateZ(gCalcMatrix, baseRot.z * M_DTOR, 1);
Matrix_RotateY(gCalcMatrix, baseRot.y * M_DTOR, 1);
Matrix_RotateX(gCalcMatrix, baseRot.x * M_DTOR, 1);
if (dList != NULL) {
Matrix_Mult(gGfxMatrix, gCalcMatrix, 1);
Matrix_SetGfxMtx(&gMasterDisp);
@@ -360,19 +360,19 @@ void Animation_GetSkeletonBoundingBox(Limb** skeletonSegment, AnimationHeader* a
} else {
var_t6 = frameData[(s16) key[1].z];
}
Matrix_RotateZ(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * 0.017453292f, 0);
Matrix_RotateZ(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * M_DTOR, 0);
if (frame < (s16) key[1].yLen) {
var_t6 = frameData[(s16) key[1].y + frame];
} else {
var_t6 = frameData[(s16) key[1].y];
}
Matrix_RotateY(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * 0.017453292f, 1);
Matrix_RotateY(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * M_DTOR, 1);
if (frame < (s16) key[1].xLen) {
var_t6 = frameData[(s16) key[1].x + frame];
} else {
var_t6 = frameData[(s16) key[1].x];
}
Matrix_RotateX(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * 0.017453292f, 1);
Matrix_RotateX(gGfxMatrix, (((s32) var_t6 * 360.0f) / 65536.0f) * M_DTOR, 1);
vtxFound = false;
if (limb->dList != NULL) {
Animation_FindBoundingBox(limb->dList, 0x2000, min, max, &vtxFound, &vtxCount, &vtxList);
@@ -516,8 +516,8 @@ s32 Math_PursueVec3f(Vec3f* pos, Vec3f* target, Vec3f* rot, f32 stepSize, f32 sc
targetRotX = Math_RadToDeg(-Math_Atan2F(diff.y, sqrtf(SQ(diff.x) + SQ(diff.z))));
Math_SmoothStepToAngle(&rot->y, targetRotY, scaleTurn, maxTurn, 0.0f);
Math_SmoothStepToAngle(&rot->x, targetRotX, scaleTurn, maxTurn, 0.0f);
Matrix_RotateY(&worldTransform, rot->y * 0.017453292f, 0);
Matrix_RotateX(&worldTransform, rot->x * 0.017453292f, 1);
Matrix_RotateY(&worldTransform, rot->y * M_DTOR, 0);
Matrix_RotateX(&worldTransform, rot->x * M_DTOR, 1);
localStep.z = stepSize;
Matrix_MultVec3fNoTranslate(&worldTransform, &localStep, &worldStep);
@@ -705,15 +705,15 @@ void Graphics_FillRectangle(Gfx** gfxPtr, s32 ulx, s32 uly, s32 lrx, s32 lry, u8
void Math_Vec3fFromAngles(Vec3f* step, f32 xRot, f32 yRot, f32 stepsize) {
Vec3f sp1C;
Matrix_RotateY(gCalcMatrix, yRot * 0.017453292f, 0);
Matrix_RotateX(gCalcMatrix, xRot * 0.017453292f, 1);
Matrix_RotateY(gCalcMatrix, yRot * M_DTOR, 0);
Matrix_RotateX(gCalcMatrix, xRot * M_DTOR, 1);
sp1C.x = sp1C.y = 0.0f;
sp1C.z = stepsize;
Matrix_MultVec3fNoTranslate(gCalcMatrix, &sp1C, step);
}
f32 Math_RadToDeg(f32 rAngle) {
rAngle *= 57.295776f;
rAngle *= M_RTOD;
while (rAngle < 0.0f) {
rAngle += 360.0f;
+4 -4
View File
@@ -1,19 +1,19 @@
#include "global.h"
void func_800594F0(Object_80* arg0) {
func_800B9EB0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
Matrix_RotateY(gGfxMatrix, M_PI, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_6007D90);
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
void func_800595D0(Object_80* arg0) {
func_800B9EB0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
Matrix_RotateY(gGfxMatrix, M_PI, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_6007CF0);
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
void func_800596B0(Object_2F4* arg0) {
+42 -42
View File
@@ -25,16 +25,16 @@ void func_8005980C(f32 arg0) {
void func_80059850(Object_4C* arg0) {
RCP_SetupDL(&gMasterDisp, 0x40);
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 60);
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
void func_800598DC(s32 arg0) {
}
void func_800598E8(Object_2F4* arg0) {
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
gSPDisplayList(gMasterDisp++, D_6025B50);
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
void func_800599A4(s32 arg0, Vec3f* arg1, s32* arg2) {
@@ -51,11 +51,10 @@ void func_800599A4(s32 arg0, Vec3f* arg1, s32* arg2) {
}
f32 D_800CF9B0[] = {
-12.32422638f, -12.00849533f, -11.08310699f, -9.561470032f, -7.440753937f, -4.713317871f, -1.393303037f,
2.485869884f, 6.872662067f, 11.66899109f, 16.7521019f, 21.98126984f, 27.19302368f, 32.21533966f,
36.87569427f, 41.0078125f, 44.46230316f, 47.09422302f, 48.7610054f, 49.34596634f, 47.64530182f,
42.98818588f, 36.06262207f, 27.66272163f, 18.64647293f, 9.883304596f, 2.113918066f, -4.157948017f,
-8.673706055f, -11.39522171f, -12.32422638f,
-12.324226f, -12.008495f, -11.083107f, -9.56147f, -7.440754f, -4.713318f, -1.393303f, 2.48587f,
6.872662f, 11.668991f, 16.752102f, 21.98127f, 27.193024f, 32.21534f, 36.875694f, 41.007812f,
44.462303f, 47.094223f, 48.761005f, 49.345966f, 47.6453f, 42.988186f, 36.062622f, 27.662722f,
18.646473f, 9.883305f, 2.113918f, -4.157948f, -8.673706f, -11.395222f, -12.324226f,
};
f32 D_800CFA2C[] = {
1.0f, 1.0f, 0.95f, 0.9f, 0.85f, 0.8f, 0.75f, 0.7f, 0.65f, 0.6f,
@@ -104,7 +103,7 @@ void func_80059C34(Object_4C* arg0) {
}
void func_80059C40(Object_4C* arg0) {
func_800B9C50(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_47(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 180);
switch (arg0->unk_45) {
case 0x0:
@@ -139,7 +138,7 @@ void func_80059C40(Object_4C* arg0) {
gSPDisplayList(gMasterDisp++, D_6034B90);
break;
}
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
void func_80059F68(Object_6C* arg0) {
@@ -432,11 +431,11 @@ void func_8005ADAC(Object_2F4* arg0) {
Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, -60.0f, 1);
Matrix_Scale(gGfxMatrix, sp5C, sp5C * 0.7f, sp5C, 1);
Matrix_RotateZ(gGfxMatrix, -arg0->obj.rot.z * M_DTOR, 1U);
Matrix_RotateX(gGfxMatrix, -arg0->obj.rot.x * M_DTOR, 1U);
Matrix_RotateY(gGfxMatrix, -arg0->obj.rot.y * M_DTOR, 1U);
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1U);
Matrix_RotateX(gGfxMatrix, D_80178280[D_801778A0].unk_05C, 1U);
Matrix_RotateZ(gGfxMatrix, -arg0->obj.rot.z * M_DTOR, 1);
Matrix_RotateX(gGfxMatrix, -arg0->obj.rot.x * M_DTOR, 1);
Matrix_RotateY(gGfxMatrix, -arg0->obj.rot.y * M_DTOR, 1);
Matrix_RotateY(gGfxMatrix, -D_80178280[D_801778A0].unk_058, 1);
Matrix_RotateX(gGfxMatrix, D_80178280[D_801778A0].unk_05C, 1);
Matrix_SetGfxMtx(&gMasterDisp);
func_8005465C(D_80177C98);
Matrix_Pop(&gGfxMatrix);
@@ -447,7 +446,7 @@ void func_8005ADAC(Object_2F4* arg0) {
if (D_80177DB0 & 1) {
sp54 = 180.0f;
}
func_800BA170();
RCP_SetupDL_64_2();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 100);
Matrix_Push(&gGfxMatrix);
Matrix_Translate(gGfxMatrix, 70.0f, -10.0f, -100.0f, 1);
@@ -549,14 +548,14 @@ void func_8005B6A4(Object_2F4* arg0) {
}
void func_8005B71C(Object_2F4* arg0) {
func_800BA1D0(arg0->unk_046, D_80178328, D_80178330, D_80178338, arg0->unk_048, D_801783DC);
RCP_SetupDL_29(arg0->unk_046, D_80178328, D_80178330, D_80178338, arg0->unk_048, D_801783DC);
Matrix_Scale(gGfxMatrix, 0.5f, 0.5f, 0.5f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_6018C00);
}
void func_8005B7CC(Object_2F4* arg0) {
func_800BA1D0(arg0->unk_046, D_80178328, D_80178330, D_80178338, arg0->unk_048, D_801783DC);
RCP_SetupDL_29(arg0->unk_046, D_80178328, D_80178330, D_80178338, arg0->unk_048, D_801783DC);
gSPDisplayList(gMasterDisp++, D_6022920);
}
@@ -593,7 +592,7 @@ void func_8005B9A4(Object_2F4* arg0) {
void func_8005BA30(Object_2F4* arg0) {
if (arg0->unk_0BC != 0) {
func_800BA400();
RCP_SetupDL_27();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 0, 0, 255);
}
gSPDisplayList(gMasterDisp++, D_6020B40);
@@ -695,7 +694,7 @@ void func_8005BAB4(s32 arg0, s32 arg1) {
gSPDisplayList(gMasterDisp++, D_6034B90);
break;
case 0xE6:
func_800BA550();
RCP_SetupDL_48();
RCP_SetupDL(&gMasterDisp, 0x45);
gSPSetGeometryMode(gMasterDisp++, G_CULL_BACK);
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 0, 0, 0, 255);
@@ -729,12 +728,12 @@ void func_8005BAB4(s32 arg0, s32 arg1) {
Matrix_RotateZ(gGfxMatrix, D_80163FE0[arg1].unk_11C, 1);
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, 0.0f, 1);
Matrix_Scale(gGfxMatrix, 1.2f, 1.0f, 1.2f, 1);
Matrix_RotateX(gGfxMatrix, -M_PI / 2.0f, 1U);
Matrix_RotateX(gGfxMatrix, -M_PI / 2.0f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
gSPDisplayList(gMasterDisp++, D_1024AC0);
break;
case 0xD7:
func_800BA550();
RCP_SetupDL_48();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 0, 0, 0, 255);
gDPSetEnvColor(gMasterDisp++, 0, 0, 0, 255);
Matrix_Scale(gGfxMatrix, 4.0f, 4.0f, 4.0f, 1);
@@ -845,7 +844,7 @@ void func_8005CDA8(Object_6C* arg0) {
RCP_SetupDL(&gMasterDisp, 0x29);
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, arg0->unk_44);
} else {
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK | G_LIGHTING); // wrong order?
for (i = 0; i < 7; i++) {
@@ -933,19 +932,19 @@ void func_8005D654(Object_80* arg0, s32 arg1) {
arg0->obj.pos.y -= D_8017847C;
if (arg0->unk_1C.unk_04 == 0) {
if ((arg0->obj.id == 0x13) || (arg0->obj.id == 0x37) || (arg0->obj.id == 9) || (arg0->obj.id == 0x32)) {
func_800B9EB0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
if (arg1 < 0) {
func_800596C0();
}
gSPDisplayList(gMasterDisp++, arg0->unk_1C.unk_00);
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
} else {
if (arg0->obj.id == 8) {
if (arg1 < 0) {
return; // weird control flow
}
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
func_800597C0(arg1);
if (arg1 < 0) {
@@ -953,7 +952,7 @@ void func_8005D654(Object_80* arg0, s32 arg1) {
}
gSPDisplayList(gMasterDisp++, arg0->unk_1C.unk_00);
if (arg0->obj.id == 8) {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
}
} else if (arg0->unk_1C.unk_00 != NULL) {
@@ -1511,7 +1510,7 @@ void func_8005F670(Vec3f* arg0) {
}
#ifdef NON_MATCHING
s32 func_8005F9DC(Vec3f* arg0) {
bool func_8005F9DC(Vec3f* arg0) {
Vec3f sp2C;
Vec3f sp20;
@@ -1523,11 +1522,12 @@ s32 func_8005F9DC(Vec3f* arg0) {
Matrix_MultVec3fNoTranslate(gCalcMatrix, &sp2C, &sp20);
if ((sp20.z < 1000.0f) && (sp20.z > -13000.0f) && (fabsf(sp20.x) < (fabsf(sp20.z * 0.4f) + 2000.0f)) &&
(fabsf(sp20.y) < (fabsf(sp20.y * 0.4f) + 2000.0f))) {
return 1;
return true;
}
return 0;
return false;
}
#else
bool func_8005F9DC(Vec3f* arg0);
#pragma GLOBAL_ASM("asm/us/nonmatchings/main/fox_edisplay/func_8005F9DC.s")
#endif
@@ -1543,7 +1543,7 @@ void func_8005FB70(s32 arg0) {
Object_80* var_s0_2;
if ((D_80177880 == 1) && (D_80178234 != 0x10)) {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
if (D_80177AB0 == 5) {
gSPClearGeometryMode(gMasterDisp++, G_CULL_BACK);
}
@@ -1562,7 +1562,7 @@ void func_8005FB70(s32 arg0) {
}
}
} else {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
for (i = 0, var_s0_2 = D_80161B00; i < ARRAY_COUNT(D_80161B00); i++, var_s0_2++) {
if (var_s0_2->obj.status >= 2) {
if (arg0 > 0) {
@@ -1578,9 +1578,9 @@ void func_8005FB70(s32 arg0) {
for (i = 0, var_s0_3 = D_8016F110; i < ARRAY_COUNT(D_8016F110); i++, var_s0_3++) {
if ((var_s0_3->obj.status >= 2) && (var_s0_3->obj.id != 0x136)) {
if (!(var_s0_3->unk_05C & 1)) {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
} else {
func_800BA400();
RCP_SetupDL_27();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 64, 64, 255, 255);
}
func_800597C0(arg0);
@@ -1600,9 +1600,9 @@ void func_8005FB70(s32 arg0) {
if ((var_s0_4->obj.status >= 2) && (func_80060FE4(&var_s0_4->obj.pos, -12000.0f) != 0)) {
Matrix_Push(&gGfxMatrix);
if ((var_s0_4->obj.id == 0xA5) || (var_s0_4->obj.id == 0xA6)) {
func_800B9EB0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_57(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
} else {
func_800B9B38(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_60(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
func_8005D8B8(var_s0_4, arg0);
Matrix_Pop(&gGfxMatrix);
@@ -1612,12 +1612,12 @@ void func_8005FB70(s32 arg0) {
if (var_s0_5->obj.status >= 2) {
if (!(var_s0_5->unk_0C6 & 1)) {
if (D_80178234 == 0xF) {
func_800BA1A0();
RCP_SetupDL_23();
} else {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
}
} else {
func_800BA400();
RCP_SetupDL_27();
if (var_s0_5->unk_110 >= 0.0f) {
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 0, 0, 255);
} else {
@@ -1702,9 +1702,9 @@ void func_8006046C(s32 arg0) {
for (i = 0, var_s0_2 = D_8016F110; i < ARRAY_COUNT(D_8016F110); i++, var_s0_2++) {
if ((var_s0_2->obj.status >= 2) && (var_s0_2->obj.id == 0x136)) {
if (!(var_s0_2->unk_05C & 1)) {
func_800BA1D0(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, D_80178338, D_801783D8, D_801783DC);
} else {
func_800BA400();
RCP_SetupDL_27();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 64, 64, 255, 255);
}
Matrix_Push(&gGfxMatrix);
@@ -1767,7 +1767,7 @@ void func_80060968(void) {
} else if ((D_80178234 == 0xD) || (D_80178234 == 9)) {
RCP_SetupDL(&gMasterDisp, 0x29);
} else {
func_800B92F8();
RCP_SetupDL_14();
}
for (i = 0; i < ARRAY_COUNT(D_80174750); i++) {
if (D_80174750[i].unk_00 != 0) {
+32 -31
View File
@@ -43,7 +43,7 @@ s32 func_80060FE4(Vec3f* arg0, f32 arg1) {
Vec3f sp20;
if ((D_80177880 != 1) && (D_80178280[0].unk_1C8 != 2)) {
return 1;
return true;
}
Matrix_RotateY(gCalcMatrix, D_80178280[D_801778A0].unk_058, 0);
sp2C.x = arg0->x - D_80178280[D_801778A0].unk_040.x;
@@ -52,9 +52,9 @@ s32 func_80060FE4(Vec3f* arg0, f32 arg1) {
Matrix_MultVec3fNoTranslate(gCalcMatrix, &sp2C, &sp20);
if ((sp20.z < 1000.0f) && (arg1 < sp20.z) && (fabsf(sp20.x) < (fabsf(sp20.z * 0.5f) + 2000.0f))) {
return 1;
return true;
}
return 0;
return false;
}
s32 func_80061148(Vec3f* arg0, f32 arg1) {
@@ -62,7 +62,7 @@ s32 func_80061148(Vec3f* arg0, f32 arg1) {
Vec3f sp20;
if (D_80177880 != 1) {
return 1;
return true;
}
if (D_80178280[0].unk_1C8 == 7) {
return func_80060FE4(arg0, arg1);
@@ -74,9 +74,9 @@ s32 func_80061148(Vec3f* arg0, f32 arg1) {
Matrix_MultVec3fNoTranslate(gCalcMatrix, &sp2C, &sp20);
if ((sp20.z < 0.0f) && (arg1 < sp20.z) && (fabsf(sp20.x) < (fabsf(sp20.z * 0.5f) + 500.0f))) {
return 1;
return true;
}
return 0;
return false;
}
void func_800612B8(ObjectStruct_1C* arg0, u32 arg1) {
@@ -246,9 +246,9 @@ void func_80061A4C(void) {
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
if (D_80170130[i].obj.status == 0) {
sp1C = (Rand_ZeroOne() - 0.5f);
sp28 = D_80178280[0].unk_074 + (sp1C * 400.0f) + (5.0f * D_80178280[0].unk_0C0);
sp28 = D_80178280[0].unk_074 + (sp1C * 400.0f) + (5.0f * D_80178280[0].unk_0C0.x);
sp1C = (Rand_ZeroOne() - 0.5f);
sp24 = D_80178280[0].unk_078 + (sp1C * 400.0f) + (5.0f * D_80178280[0].unk_0C4);
sp24 = D_80178280[0].unk_078 + (sp1C * 400.0f) + (5.0f * D_80178280[0].unk_0C0.y);
sp20 = -D_80177D20 - 500.0f;
if (D_80177D08 < 0.0f) {
sp20 = -D_80177D20 + 500.0f;
@@ -270,11 +270,11 @@ void func_80061B68(void) {
if (D_80170130[i].obj.status == 0) {
sp1C = (Rand_ZeroOne() - 0.5f);
sp28 = D_80178280[0].unk_074 + (sp1C * 2000.0f) + (5.0f * D_80178280[0].unk_0C0);
sp28 = D_80178280[0].unk_074 + (sp1C * 2000.0f) + (5.0f * D_80178280[0].unk_0C0.x);
sp24 = 0;
while (sp24 <= D_80177940) {
sp1C = (Rand_ZeroOne() - 0.5f);
sp24 = D_80178280[0].unk_078 + (sp1C * 2000.0f) + (5.0f * D_80178280[0].unk_0C4);
sp24 = D_80178280[0].unk_078 + (sp1C * 2000.0f) + (5.0f * D_80178280[0].unk_0C0.y);
}
sp20 = -D_80177D20 - 3000.0f;
if (D_80177D08 < 0.0f) {
@@ -296,9 +296,10 @@ void func_80061CD0(void) {
for (i = 0; i < ARRAY_COUNT(D_80170130); i++) {
if (D_80170130[i].obj.status == 0) {
sp1C = (Rand_ZeroOne() - 0.5f);
sp28 = D_80178280[D_801778A0].unk_074 + (sp1C * 3000.0f) + (5.0f * D_80178280[D_801778A0].unk_0C0);
sp28 = D_80178280[D_801778A0].unk_074 + (sp1C * 3000.0f) + (5.0f * D_80178280[D_801778A0].unk_0C0.x);
sp1C = (Rand_ZeroOne() - 0.5f);
sp24 = D_80178280[D_801778A0].unk_078 + 1000.0f + (sp1C * 500.0f) + (5.0f * D_80178280[D_801778A0].unk_0C4);
sp24 =
D_80178280[D_801778A0].unk_078 + 1000.0f + (sp1C * 500.0f) + (5.0f * D_80178280[D_801778A0].unk_0C0.y);
sp20 = -D_80177D20 - 2000.0f * Rand_ZeroOne();
if (D_80177D08 < 0.0f) {
sp20 = -D_80177D20 + 1000.0f;
@@ -666,39 +667,39 @@ s32 func_80062DBC(Vec3f* arg0, f32* var_s0, Object* arg2, f32 arg3, f32 arg4, f3
if ((var_s0[1] + 20.0f) > (fabsf((var_s0[0] + arg2->pos.z) - var_ft5)) &&
((var_s0[5] + 20.0f) > fabsf((var_s0[4] + arg2->pos.x) - var_fa1)) &&
((var_s0[3] + 10.0f) > fabsf((var_s0[2] + arg2->pos.y) - var_ft4))) {
return 1;
return true;
}
var_s0 += 6;
}
}
return 0;
return false;
}
s32 func_800631A8(Vec3f* arg0, f32* arg1, Vec3f* arg2) {
if (((s32) arg1[0] != 0) && (fabsf((arg1[1] + arg2->z) - arg0->z) < (arg1[2] + 20.0f)) &&
(fabsf((arg1[5] + arg2->x) - arg0->x) < (arg1[6] + 20.0f)) &&
(fabsf((arg1[3] + arg2->y) - arg0->y) < (arg1[4] + 20.0f))) {
return 1;
return true;
}
return 0;
return false;
}
s32 func_8006326C(Vec3f* arg0, s32 arg1, s32 arg2, Object* arg3) {
s32 func_8006326C(Vec3f* arg0, Vec3f* arg1, s32 arg2, Object* arg3) {
Vec3f sp74;
Vec3f sp68;
Vec3f sp5C;
Vec3f sp50;
Vec3f sp44;
s32 var_s1;
s32 pad1;
Vec3f sp30;
s32 pad1[3];
f32 sp30;
s32 pad2;
sp74.x = arg0->x - arg3->pos.x;
sp74.z = arg0->z - arg3->pos.z;
if (((fabsf(sp74.x) < 1100.0f) && (fabsf(sp74.z) < 1100.0f)) || (arg2 == 0xB4)) {
sp74.y = arg0->y - arg3->pos.y;
Matrix_RotateY(gCalcMatrix, -arg3->rot.y * M_DTOR, 0U);
Matrix_RotateY(gCalcMatrix, -arg3->rot.y * M_DTOR, 0);
Matrix_MultVec3fNoTranslate(gCalcMatrix, &sp74, &sp68);
sp5C.x = arg3->pos.x + sp68.x;
sp5C.y = arg3->pos.y + sp68.y;
@@ -726,7 +727,7 @@ s32 func_8006326C(Vec3f* arg0, s32 arg1, s32 arg2, Object* arg3) {
var_s1 = 8;
}
if (func_800998FC(&sp5C, &sp50, arg1, var_s1, &sp44, &sp30) > 0) {
return 1;
return true;
}
} else {
var_s1 = 0;
@@ -748,14 +749,14 @@ s32 func_8006326C(Vec3f* arg0, s32 arg1, s32 arg2, Object* arg3) {
var_s1 = 1;
}
if (func_800A3690(&sp5C, &sp50, var_s1, &sp44) != 0) {
return 1;
return true;
}
}
}
return 0;
return false;
}
s32 func_8006351C(s32 arg0, Vec3f* arg1, s32 arg2, s32 arg3) {
s32 func_8006351C(s32 arg0, Vec3f* arg1, Vec3f* arg2, s32 arg3) {
Object_58* var_s0;
Object_80* var_s0_2;
Object_4C* var_s0_3;
@@ -879,13 +880,13 @@ s32 func_8006351C(s32 arg0, Vec3f* arg1, s32 arg2, s32 arg3) {
var_s0_5->unk_0D8.x = arg1->x;
var_s0_5->unk_0D8.y = arg1->y;
var_s0_5->unk_0D8.z = arg1->z;
return 1;
return true;
}
}
}
}
}
return 0;
return false;
}
void func_80063CAC(Object_80* arg0) {
@@ -1528,7 +1529,7 @@ void func_800656D4(Object_2F4* arg0) {
sp8C.x = arg0->unk_0E8;
sp8C.y = arg0->unk_0EC;
sp8C.z = arg0->unk_0F0;
if ((func_8006351C(arg0->unk_040, &arg0->obj.pos, (s32) &sp8C, 1) != 0) || (arg0->unk_0D0 != 0) ||
if ((func_8006351C(arg0->unk_040, &arg0->obj.pos, &sp8C, 1) != 0) || (arg0->unk_0D0 != 0) ||
(arg0->obj.pos.y < (D_80177940 + 10.0f)) || (D_80178280[0].unk_1C8 == 7)) {
func_8007D2C8(arg0->obj.pos.x, arg0->obj.pos.y, arg0->obj.pos.z, 3.0f);
func_80060FBC(&arg0->obj, &arg0->unk_100);
@@ -1608,7 +1609,7 @@ void func_80066254(Object_2F4* arg0) {
switch (D_80161A62) {
case 9:
if (D_80178234 == 0x10) {
func_800BA808(D_80182544, 0xAA);
func_800BA808(gMsg_ID_18031, 0xAA);
}
/* fallthrough */
case 4:
@@ -1641,11 +1642,11 @@ void func_80066254(Object_2F4* arg0) {
func_80019218(0x4900000C, &D_800C5D28, 4, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
} else if (arg0->unk_044 == 0x18) {
if (D_801778B0[3] > 0) {
func_800BA808(D_80183CA8, 0x1E);
func_800BA808(gMsg_ID_20261, 0x1E);
} else if (D_801778B0[2] > 0) {
func_800BA808(D_80183D3C, 0x14);
func_800BA808(gMsg_ID_20263, 0x14);
} else if (D_801778B0[1] > 0) {
func_800BA808(D_80183CF0, 0xA);
func_800BA808(gMsg_ID_20262, 0xA);
}
} else if (Rand_ZeroOne() <= D_800CFE5C[arg0->unk_044]) {
func_800660F0(arg0);
+4 -103
View File
@@ -1,104 +1,5 @@
#include "global.h"
typedef enum {
MSGCHAR_END,
MSGCHAR_NWL,
MSGCHAR_NP2,
MSGCHAR_NP3,
MSGCHAR_NP4,
MSGCHAR_NP5,
MSGCHAR_NP6,
MSGCHAR_NP7,
MSGCHAR_NP8,
MSGCHAR_NP9,
MSGCHAR_NPA,
MSGCHAR_NPB,
MSGCHAR_SPC,
MSGCHAR_QSP,
MSGCHAR_HSP,
MSGCHAR_NPF,
MSGCHAR_CLF,
MSGCHAR_CUP,
MSGCHAR_CRT,
MSGCHAR_CDN,
MSGCHAR_AUP,
MSGCHAR_ALF,
MSGCHAR_ADN,
MSGCHAR_ART,
MSGCHAR_A,
MSGCHAR_B,
MSGCHAR_C,
MSGCHAR_D,
MSGCHAR_E,
MSGCHAR_F,
MSGCHAR_G,
MSGCHAR_H,
MSGCHAR_I,
MSGCHAR_J,
MSGCHAR_K,
MSGCHAR_L,
MSGCHAR_M,
MSGCHAR_N,
MSGCHAR_O,
MSGCHAR_P,
MSGCHAR_Q,
MSGCHAR_R,
MSGCHAR_S,
MSGCHAR_T,
MSGCHAR_U,
MSGCHAR_V,
MSGCHAR_W,
MSGCHAR_X,
MSGCHAR_Y,
MSGCHAR_Z,
MSGCHAR_a,
MSGCHAR_b,
MSGCHAR_c,
MSGCHAR_d,
MSGCHAR_e,
MSGCHAR_f,
MSGCHAR_g,
MSGCHAR_h,
MSGCHAR_i,
MSGCHAR_j,
MSGCHAR_k,
MSGCHAR_l,
MSGCHAR_m,
MSGCHAR_n,
MSGCHAR_o,
MSGCHAR_p,
MSGCHAR_q,
MSGCHAR_r,
MSGCHAR_s,
MSGCHAR_t,
MSGCHAR_u,
MSGCHAR_v,
MSGCHAR_w,
MSGCHAR_x,
MSGCHAR_y,
MSGCHAR_z,
MSGCHAR_EXM,
MSGCHAR_QST,
MSGCHAR_DSH,
MSGCHAR_CMA,
MSGCHAR_PRD,
MSGCHAR_0,
MSGCHAR_1,
MSGCHAR_2,
MSGCHAR_3,
MSGCHAR_4,
MSGCHAR_5,
MSGCHAR_6,
MSGCHAR_7,
MSGCHAR_8,
MSGCHAR_9,
MSGCHAR_APS,
MSGCHAR_LPR,
MSGCHAR_RPR,
MSGCHAR_CLN,
MSGCHAR_PIP,
} CharCode;
u16* Message_PtrFromId(u16 msgId) {
s32 i;
MsgLookup* lookup = gMsgLookup;
@@ -157,7 +58,7 @@ void Message_DisplayChar(Gfx** gfxPtr, u16 msgChar, s32 xpos, s32 ypos) {
0x400, 0x400);
}
s32 Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len) {
bool Message_DisplayText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos, s32 len) {
s32 xChar = xPos;
s32 yChar = yPos;
s32 i;
@@ -256,13 +157,13 @@ void Message_DisplayScrollingText(Gfx** gfxPtr, u16* msgPtr, s32 xPos, s32 yPos,
}
}
s32 Message_NotWhitespace(u16* msgPtr, s32 charPos) {
bool Message_IsPrintingChar(u16* msgPtr, s32 charPos) {
s32 i;
s32 print;
// bug: if the for loop is skipped, print is never initialized
for (i = 0; msgPtr[i] != 0 && i < charPos; i++) {
print = 0;
print = false;
switch (msgPtr[i]) {
case 1:
case 2:
@@ -281,7 +182,7 @@ s32 Message_NotWhitespace(u16* msgPtr, s32 charPos) {
case 15:
break;
default:
print = 1;
print = true;
break;
}
}
+4 -4
View File
@@ -9,9 +9,9 @@ extern s32 D_80178748;
s32 D_800D4A70 = 0;
void func_800BA760(void) {
func_800B9358();
RCP_SetupDL_36();
if (D_80177D50 == 1.3f) {
D_801782F8 = Message_NotWhitespace(D_80178308, D_801782D8);
D_801782F8 = Message_IsPrintingChar(D_80178308, D_801782D8);
}
}
@@ -403,7 +403,7 @@ void func_800BAAE8(void) {
D_800D4A74 = -1.0f;
}
sp38 = D_80177D38 * 20.0f * D_800D4A74;
func_800BA490();
RCP_SetupDL_76();
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 255, 255);
if (var_s0 != 0) {
@@ -802,7 +802,7 @@ void func_800BC040(void) {
func_800BB388();
if (((s32) D_80177D68 == 10) || ((s32) D_80177D68 == 20) || ((s32) D_80177D68 == 30)) {
Matrix_Push(&gGfxMatrix);
func_800B9358();
RCP_SetupDL_36();
Matrix_Translate(gGfxMatrix, -150.0f, -115.0f, -443.0f, 1);
Matrix_Scale(gGfxMatrix, 0.068f, 0.068f, 1.0f, 1);
Matrix_SetGfxMtx(&gMasterDisp);
+53 -53
View File
@@ -6,7 +6,7 @@ void RCP_SetupDL(Gfx** gfxP, s16 i) {
gSPDisplayList((*gfxP)++, &((Gfx*) gSetupDLs)[i * 9]);
}
void func_800B8E14(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetFog(Gfx** gfxP, s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gDPSetFogColor((*gfxP)++, r, g, b, a);
gSPFogPosition((*gfxP)++, near, far);
}
@@ -17,241 +17,241 @@ void dummy_800B8F08(void) {
void dummy_800B8F10(void) {
}
void func_800B8F18(void) {
void RCP_SetupDL_0(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_0]);
}
void func_800B8F48(void) {
void RCP_SetupDL_1(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_1]);
}
void func_800B8F78(void) {
void RCP_SetupDL_11(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_11]);
}
void func_800B8FA8(void) {
void RCP_SetupDL_12(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_12]);
}
void func_800B8FD8(void) {
void RCP_SetupDL_2(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_2]);
}
void func_800B9008(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_3(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_3]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9120(void) {
void RCP_SetupDL_4(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_4]);
}
void func_800B9150(void) {
void RCP_SetupDL_7(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_7]);
}
void func_800B9180(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_9(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_9]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9298(void) {
void RCP_SetupDL_8(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_8]);
}
void func_800B92C8(void) {
void RCP_SetupDL_13(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_13]);
}
void func_800B92F8(void) {
void RCP_SetupDL_14(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_14]);
}
void func_800B9328(void) {
void RCP_SetupDL_17(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_17]);
}
void func_800B9358(void) {
void RCP_SetupDL_36(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_36]);
}
void func_800B9388(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_52(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_52]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B94A0(void) {
void RCP_SetupDL_62(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_62]);
}
void func_800B94D0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_37(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_37]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B95E8(void) {
void RCP_SetupDL_18(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_18]);
}
void func_800B9618(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_20]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9730(void) {
void RCP_SetupDL_19(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_19]);
}
void func_800B9760(void) {
void RCP_SetupDL_21(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_21]);
}
void func_800B9790(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_33(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_33]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B98A8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_34(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_34]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B99C0(void) {
void RCP_SetupDL_40(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_40]);
}
void func_800B99F0(void) {
void RCP_SetupDL_42(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_42]);
}
void func_800B9A20(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_43(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_43]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9B38(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_60(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_60]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9C50(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_47(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_47]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9D68(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_66(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_66]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9E80(void) {
void RCP_SetupDL_55(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_55]);
}
void func_800B9EB0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_57(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_57]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800B9FC8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_45(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_45]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800BA0E0(void) {
void RCP_SetupDL_46(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_46]);
}
void func_800BA110(void) {
void RCP_SetupDL_41(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_41]);
}
void func_800BA140(void) {
void RCP_SetupDL_64(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_64]);
}
void func_800BA170(void) {
void RCP_SetupDL_64_2(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_64]);
}
void func_800BA1A0(void) {
void RCP_SetupDL_23(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_23]);
}
void func_800BA1D0(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_29(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_29]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800BA2E8(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_30(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_30]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
}
void func_800BA400(void) {
void RCP_SetupDL_27(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_27]);
}
void func_800BA430(void) {
void RCP_SetupDL_32(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_32]);
}
void func_800BA460(void) {
void RCP_SetupDL_73(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_73]);
}
void func_800BA490(void) {
void RCP_SetupDL_76(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_76]);
}
void func_800BA4C0(void) {
void RCP_SetupDL_74(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_74]);
}
void func_800BA4F0(void) {
void RCP_SetupDL_78(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_78]);
}
void func_800BA520(void) {
void RCP_SetupDL_81(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_81]);
}
void func_800BA550(void) {
void RCP_SetupDL_48(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_48]);
}
void func_800BA580(void) {
void RCP_SetupDL_68(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_68]);
}
void func_800BA5B0(void) {
void RCP_SetupDL_49(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_49]);
}
void func_800BA5E0(void) {
void RCP_SetupDL_44(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_44]);
}
void func_800BA610(void) {
void RCP_SetupDL_50(void) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_50]);
}
void func_800BA640(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
void RCP_SetupDL_61(s32 r, s32 g, s32 b, s32 a, s32 near, s32 far) {
gSPDisplayList(gMasterDisp++, gSetupDLs[SETUPDL_61]);
gDPSetFogColor(gMasterDisp++, r, g, b, a);
gSPFogPosition(gMasterDisp++, near, far);
+3 -3
View File
@@ -496,7 +496,7 @@ void Main_StartNextTask(void) {
}
void Main_ThreadEntry(void* arg0) {
OSMesg osMsg;
OSMesg ogMsg;
u8 mesg;
osCreateThread(&gAudioThread, THREAD_ID_AUDIO, Audio_ThreadEntry, arg0,
@@ -515,8 +515,8 @@ void Main_ThreadEntry(void* arg0) {
Main_InitMesgQueues();
while (true) {
osRecvMesg(&gMainThreadMsgQueue, &osMsg, OS_MESG_BLOCK);
mesg = (u32) osMsg;
osRecvMesg(&gMainThreadMsgQueue, &ogMsg, OS_MESG_BLOCK);
mesg = (u32) ogMsg;
switch (mesg) {
case EVENT_MESG_VI:
+128 -128
View File
@@ -166,134 +166,134 @@ f32 gBendPitchTwoSemitonesFrequencies[] = {
};
f32 gPitchFrequencies[] = {
/* 0x00 */ 0.105112f, // PITCH_A0
/* 0x01 */ 0.111362f, // PITCH_BFLAT0
/* 0x02 */ 0.117984f, // PITCH_B0
/* 0x03 */ 0.125f, // PITCH_C1
/* 0x04 */ 0.132433f, // PITCH_DFLAT1
/* 0x05 */ 0.140308f, // PITCH_D1
/* 0x06 */ 0.148651f, // PITCH_EFLAT1
/* 0x07 */ 0.15749f, // PITCH_E1
/* 0x08 */ 0.166855f, // PITCH_F1
/* 0x09 */ 0.176777f, // PITCH_GFLAT1
/* 0x0A */ 0.187288f, // PITCH_G1
/* 0x0B */ 0.198425f, // PITCH_AFLAT1
/* 0x0C */ 0.210224f, // PITCH_A1
/* 0x0D */ 0.222725f, // PITCH_BFLAT1
/* 0x0E */ 0.235969f, // PITCH_B1
/* 0x0F */ 0.25f, // PITCH_C2
/* 0x10 */ 0.264866f, // PITCH_DFLAT2
/* 0x11 */ 0.280616f, // PITCH_D2
/* 0x12 */ 0.297302f, // PITCH_EFLAT2
/* 0x13 */ 0.31498f, // PITCH_E2
/* 0x14 */ 0.33371f, // PITCH_F2
/* 0x15 */ 0.353553f, // PITCH_GFLAT2
/* 0x16 */ 0.374577f, // PITCH_G2
/* 0x17 */ 0.39685f, // PITCH_AFLAT2
/* 0x18 */ 0.420448f, // PITCH_A2
/* 0x19 */ 0.445449f, // PITCH_BFLAT2
/* 0x1A */ 0.471937f, // PITCH_B2
/* 0x1B */ 0.5f, // PITCH_C3
/* 0x1C */ 0.529732f, // PITCH_DFLAT3
/* 0x1D */ 0.561231f, // PITCH_D3
/* 0x1E */ 0.594604f, // PITCH_EFLAT3
/* 0x1F */ 0.629961f, // PITCH_E3
/* 0x20 */ 0.66742f, // PITCH_F3
/* 0x21 */ 0.707107f, // PITCH_GFLAT3
/* 0x22 */ 0.749154f, // PITCH_G3
/* 0x23 */ 0.793701f, // PITCH_AFLAT3
/* 0x24 */ 0.840897f, // PITCH_A3
/* 0x25 */ 0.890899f, // PITCH_BFLAT3
/* 0x26 */ 0.943875f, // PITCH_B3
/* 0x27 */ 1.0f, // PITCH_C4 (Middle C)
/* 0x28 */ 1.059463f, // PITCH_DFLAT4
/* 0x29 */ 1.122462f, // PITCH_D4
/* 0x2A */ 1.189207f, // PITCH_EFLAT4
/* 0x2B */ 1.259921f, // PITCH_E4
/* 0x2C */ 1.33484f, // PITCH_F4
/* 0x2D */ 1.414214f, // PITCH_GFLAT4
/* 0x2E */ 1.498307f, // PITCH_G4
/* 0x2F */ 1.587401f, // PITCH_AFLAT4
/* 0x30 */ 1.681793f, // PITCH_A4
/* 0x31 */ 1.781798f, // PITCH_BFLAT4
/* 0x32 */ 1.887749f, // PITCH_B4
/* 0x33 */ 2.0f, // PITCH_C5
/* 0x34 */ 2.118926f, // PITCH_DFLAT5
/* 0x35 */ 2.244924f, // PITCH_D5
/* 0x36 */ 2.378414f, // PITCH_EFLAT5
/* 0x37 */ 2.519842f, // PITCH_E5
/* 0x38 */ 2.66968f, // PITCH_F5
/* 0x39 */ 2.828428f, // PITCH_GFLAT5
/* 0x3A */ 2.996615f, // PITCH_G5
/* 0x3B */ 3.174803f, // PITCH_AFLAT5
/* 0x3C */ 3.363586f, // PITCH_A5
/* 0x3D */ 3.563596f, // PITCH_BFLAT5
/* 0x3E */ 3.775498f, // PITCH_B5
/* 0x3F */ 4.0f, // PITCH_C6
/* 0x40 */ 4.237853f, // PITCH_DFLAT6
/* 0x41 */ 4.489849f, // PITCH_D6
/* 0x42 */ 4.756829f, // PITCH_EFLAT6
/* 0x43 */ 5.039685f, // PITCH_E6
/* 0x44 */ 5.33936f, // PITCH_F6
/* 0x45 */ 5.656855f, // PITCH_GFLAT6
/* 0x46 */ 5.993229f, // PITCH_G6
/* 0x47 */ 6.349606f, // PITCH_AFLAT6
/* 0x48 */ 6.727173f, // PITCH_A6
/* 0x49 */ 7.127192f, // PITCH_BFLAT6
/* 0x4A */ 7.550996f, // PITCH_B6
/* 0x4B */ 8.0f, // PITCH_C7
/* 0x4C */ 8.475705f, // PITCH_DFLAT7
/* 0x4D */ 8.979697f, // PITCH_D7
/* 0x4E */ 9.513658f, // PITCH_EFLAT7
/* 0x4F */ 10.07937f, // PITCH_E7
/* 0x50 */ 10.6787205f, // PITCH_F7
/* 0x51 */ 11.31371f, // PITCH_GFLAT7
/* 0x52 */ 11.986459f, // PITCH_G7
/* 0x53 */ 12.699211f, // PITCH_AFLAT7
/* 0x54 */ 13.454346f, // PITCH_A7
/* 0x55 */ 14.254383f, // PITCH_BFLAT7
/* 0x56 */ 15.101993f, // PITCH_B7
/* 0x57 */ 16.0f, // PITCH_C8
/* 0x58 */ 16.95141f, // PITCH_DFLAT8
/* 0x59 */ 17.959395f, // PITCH_D8
/* 0x5A */ 19.027315f, // PITCH_EFLAT8
/* 0x5B */ 20.15874f, // PITCH_E8
/* 0x5C */ 21.35744f, // PITCH_F8
/* 0x5D */ 22.62742f, // PITCH_GFLAT8
/* 0x5E */ 23.972918f, // PITCH_G8
/* 0x5F */ 25.398422f, // PITCH_AFLAT8
/* 0x60 */ 26.908691f, // PITCH_A8
/* 0x61 */ 28.508766f, // PITCH_BFLAT8
/* 0x62 */ 30.203985f, // PITCH_B8
/* 0x63 */ 32.0f, // PITCH_C9
/* 0x64 */ 33.90282f, // PITCH_DFLAT9
/* 0x65 */ 35.91879f, // PITCH_D9
/* 0x66 */ 38.05463f, // PITCH_EFLAT9
/* 0x67 */ 40.31748f, // PITCH_E9
/* 0x68 */ 42.71488f, // PITCH_F9
/* 0x69 */ 45.25484f, // PITCH_GFLAT9
/* 0x6A */ 47.945835f, // PITCH_G9
/* 0x6B */ 50.796845f, // PITCH_AFLAT9
/* 0x6C */ 53.817383f, // PITCH_A9
/* 0x6D */ 57.017532f, // PITCH_BFLAT9
/* 0x6E */ 60.40797f, // PITCH_B9
/* 0x6F */ 64.0f, // PITCH_C10
/* 0x70 */ 67.80564f, // PITCH_DFLAT10
/* 0x71 */ 71.83758f, // PITCH_D10
/* 0x72 */ 76.10926f, // PITCH_EFLAT10
/* 0x73 */ 80.63496f, // PITCH_E10
/* 0x74 */ 85.42976f, // PITCH_F10
/* 0x75 */ 45.25484f, // PITCH_GFLAT9G1
/* 0x76 */ 47.945835f, // PITCH_G9
/* 0x77 */ 50.796844f, // PITCH_AFLAT9
/* 0x78 */ 53.817383f, // PITCH_A9
/* 0x79 */ 57.017532f, // PITCH_BFLAT9
/* 0x7A */ 60.40797f, // PITCH_B9
/* 0x7B */ 64.0f, // PITCH_C10
/* 0x7C */ 67.80564f, // PITCH_DFLAT10
/* 0x7D */ 71.837578f, // PITCH_D10
/* 0x7E */ 76.10926f, // PITCH_EFLAT10
/* 0x7F */ 80.63496f, // PITCH_E10
/* 0x00 */ 0.105112f, // PITCH_A0
/* 0x01 */ 0.111362f, // PITCH_BFLAT0
/* 0x02 */ 0.117984f, // PITCH_B0
/* 0x03 */ 0.125f, // PITCH_C1
/* 0x04 */ 0.132433f, // PITCH_DFLAT1
/* 0x05 */ 0.140308f, // PITCH_D1
/* 0x06 */ 0.148651f, // PITCH_EFLAT1
/* 0x07 */ 0.15749f, // PITCH_E1
/* 0x08 */ 0.166855f, // PITCH_F1
/* 0x09 */ 0.176777f, // PITCH_GFLAT1
/* 0x0A */ 0.187288f, // PITCH_G1
/* 0x0B */ 0.198425f, // PITCH_AFLAT1
/* 0x0C */ 0.210224f, // PITCH_A1
/* 0x0D */ 0.222725f, // PITCH_BFLAT1
/* 0x0E */ 0.235969f, // PITCH_B1
/* 0x0F */ 0.25f, // PITCH_C2
/* 0x10 */ 0.264866f, // PITCH_DFLAT2
/* 0x11 */ 0.280616f, // PITCH_D2
/* 0x12 */ 0.297302f, // PITCH_EFLAT2
/* 0x13 */ 0.31498f, // PITCH_E2
/* 0x14 */ 0.33371f, // PITCH_F2
/* 0x15 */ 0.353553f, // PITCH_GFLAT2
/* 0x16 */ 0.374577f, // PITCH_G2
/* 0x17 */ 0.39685f, // PITCH_AFLAT2
/* 0x18 */ 0.420448f, // PITCH_A2
/* 0x19 */ 0.445449f, // PITCH_BFLAT2
/* 0x1A */ 0.471937f, // PITCH_B2
/* 0x1B */ 0.5f, // PITCH_C3
/* 0x1C */ 0.529732f, // PITCH_DFLAT3
/* 0x1D */ 0.561231f, // PITCH_D3
/* 0x1E */ 0.594604f, // PITCH_EFLAT3
/* 0x1F */ 0.629961f, // PITCH_E3
/* 0x20 */ 0.66742f, // PITCH_F3
/* 0x21 */ 0.707107f, // PITCH_GFLAT3
/* 0x22 */ 0.749154f, // PITCH_G3
/* 0x23 */ 0.793701f, // PITCH_AFLAT3
/* 0x24 */ 0.840897f, // PITCH_A3
/* 0x25 */ 0.890899f, // PITCH_BFLAT3
/* 0x26 */ 0.943875f, // PITCH_B3
/* 0x27 */ 1.0f, // PITCH_C4 (Middle C)
/* 0x28 */ 1.059463f, // PITCH_DFLAT4
/* 0x29 */ 1.122462f, // PITCH_D4
/* 0x2A */ 1.189207f, // PITCH_EFLAT4
/* 0x2B */ 1.259921f, // PITCH_E4
/* 0x2C */ 1.33484f, // PITCH_F4
/* 0x2D */ 1.414214f, // PITCH_GFLAT4
/* 0x2E */ 1.498307f, // PITCH_G4
/* 0x2F */ 1.587401f, // PITCH_AFLAT4
/* 0x30 */ 1.681793f, // PITCH_A4
/* 0x31 */ 1.781798f, // PITCH_BFLAT4
/* 0x32 */ 1.887749f, // PITCH_B4
/* 0x33 */ 2.0f, // PITCH_C5
/* 0x34 */ 2.118926f, // PITCH_DFLAT5
/* 0x35 */ 2.244924f, // PITCH_D5
/* 0x36 */ 2.378414f, // PITCH_EFLAT5
/* 0x37 */ 2.519842f, // PITCH_E5
/* 0x38 */ 2.66968f, // PITCH_F5
/* 0x39 */ 2.828428f, // PITCH_GFLAT5
/* 0x3A */ 2.996615f, // PITCH_G5
/* 0x3B */ 3.174803f, // PITCH_AFLAT5
/* 0x3C */ 3.363586f, // PITCH_A5
/* 0x3D */ 3.563596f, // PITCH_BFLAT5
/* 0x3E */ 3.775498f, // PITCH_B5
/* 0x3F */ 4.0f, // PITCH_C6
/* 0x40 */ 4.237853f, // PITCH_DFLAT6
/* 0x41 */ 4.489849f, // PITCH_D6
/* 0x42 */ 4.756829f, // PITCH_EFLAT6
/* 0x43 */ 5.039685f, // PITCH_E6
/* 0x44 */ 5.33936f, // PITCH_F6
/* 0x45 */ 5.656855f, // PITCH_GFLAT6
/* 0x46 */ 5.993229f, // PITCH_G6
/* 0x47 */ 6.349606f, // PITCH_AFLAT6
/* 0x48 */ 6.727173f, // PITCH_A6
/* 0x49 */ 7.127192f, // PITCH_BFLAT6
/* 0x4A */ 7.550996f, // PITCH_B6
/* 0x4B */ 8.0f, // PITCH_C7
/* 0x4C */ 8.475705f, // PITCH_DFLAT7
/* 0x4D */ 8.979697f, // PITCH_D7
/* 0x4E */ 9.513658f, // PITCH_EFLAT7
/* 0x4F */ 10.07937f, // PITCH_E7
/* 0x50 */ 10.67872f, // PITCH_F7
/* 0x51 */ 11.31371f, // PITCH_GFLAT7
/* 0x52 */ 11.986459f, // PITCH_G7
/* 0x53 */ 12.699211f, // PITCH_AFLAT7
/* 0x54 */ 13.454346f, // PITCH_A7
/* 0x55 */ 14.254383f, // PITCH_BFLAT7
/* 0x56 */ 15.101993f, // PITCH_B7
/* 0x57 */ 16.0f, // PITCH_C8
/* 0x58 */ 16.95141f, // PITCH_DFLAT8
/* 0x59 */ 17.959395f, // PITCH_D8
/* 0x5A */ 19.027315f, // PITCH_EFLAT8
/* 0x5B */ 20.15874f, // PITCH_E8
/* 0x5C */ 21.35744f, // PITCH_F8
/* 0x5D */ 22.62742f, // PITCH_GFLAT8
/* 0x5E */ 23.972918f, // PITCH_G8
/* 0x5F */ 25.398422f, // PITCH_AFLAT8
/* 0x60 */ 26.908691f, // PITCH_A8
/* 0x61 */ 28.508766f, // PITCH_BFLAT8
/* 0x62 */ 30.203985f, // PITCH_B8
/* 0x63 */ 32.0f, // PITCH_C9
/* 0x64 */ 33.90282f, // PITCH_DFLAT9
/* 0x65 */ 35.91879f, // PITCH_D9
/* 0x66 */ 38.05463f, // PITCH_EFLAT9
/* 0x67 */ 40.31748f, // PITCH_E9
/* 0x68 */ 42.71488f, // PITCH_F9
/* 0x69 */ 45.25484f, // PITCH_GFLAT9
/* 0x6A */ 47.945835f, // PITCH_G9
/* 0x6B */ 50.796845f, // PITCH_AFLAT9
/* 0x6C */ 53.817383f, // PITCH_A9
/* 0x6D */ 57.017532f, // PITCH_BFLAT9
/* 0x6E */ 60.40797f, // PITCH_B9
/* 0x6F */ 64.0f, // PITCH_C10
/* 0x70 */ 67.80564f, // PITCH_DFLAT10
/* 0x71 */ 71.83758f, // PITCH_D10
/* 0x72 */ 76.10926f, // PITCH_EFLAT10
/* 0x73 */ 80.63496f, // PITCH_E10
/* 0x74 */ 85.42976f, // PITCH_F10
/* 0x75 */ 45.25484f, // PITCH_GFLAT9G1
/* 0x76 */ 47.945835f, // PITCH_G9
/* 0x77 */ 50.796844f, // PITCH_AFLAT9
/* 0x78 */ 53.817383f, // PITCH_A9
/* 0x79 */ 57.017532f, // PITCH_BFLAT9
/* 0x7A */ 60.40797f, // PITCH_B9
/* 0x7B */ 64.0f, // PITCH_C10
/* 0x7C */ 67.80564f, // PITCH_DFLAT10
/* 0x7D */ 71.83758f, // PITCH_D10
/* 0x7E */ 76.10926f, // PITCH_EFLAT10
/* 0x7F */ 80.63496f, // PITCH_E10
};
u8 gDefaultShortNoteVelocityTable[] = {
+2 -2
View File
@@ -41,9 +41,9 @@ s32 func_8002FE74(void) {
case 14:
return D_8015F928 == (D_800C9B4C + 0x960);
case 17:
return D_8016F9F0 == 4;
return D_8016F110[2].unk_0D0 == 4;
case 16:
return D_8016F5BE == 2;
return D_8016F110[1].unk_0A6 == 2;
default:
return 0;
}
+1465 -37
View File
File diff suppressed because it is too large Load Diff
+21 -21
View File
@@ -1257,7 +1257,7 @@ void func_8008D984(void) {
}
if ((D_800D2190[D_801778A0] & 2) || ((D_800D2190[D_801778A0] == 0) && (D_80177DA0[D_801778A0] != 0))) {
func_800BA4F0();
RCP_SetupDL_78();
if (D_80177DA0[D_801778A0] >= 2) {
if (Math_SmoothStepToF(&D_800D21A4, D_800D21A0, 0.4f, 100.0f, 0.1f) == 0.0f) {
if (D_800D21A0 == 255.0f) {
@@ -1292,13 +1292,13 @@ void func_8008DC34(void) {
}
void func_8008DCB0(f32 arg0, f32 arg1, s32 arg2, s32 arg3, s32 arg4) {
func_800BA4F0();
RCP_SetupDL_78();
gDPSetPrimColor(gMasterDisp++, 0, 0, arg2, arg3, arg4, D_80161708);
TextureRect_4bCI(&gMasterDisp, D_1011ED0, D_1011F08, 16, 7, arg0, arg1, 1.0f, 1.0f);
}
void func_8008DD78(f32 arg0, f32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5) {
func_800BA4F0();
RCP_SetupDL_78();
gDPSetPrimColor(gMasterDisp++, 0, 0, arg3, arg4, arg5, D_80161708);
if (arg2 >= 10) {
@@ -1400,11 +1400,11 @@ void func_8008E2C8(f32 arg0, f32 arg1, s32* arg2, f32 arg3) {
}
if (i & 1) {
func_800BA4F0();
RCP_SetupDL_78();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
TextureRect_4bCI(&gMasterDisp, D_1011E80, D_1011EC0, 0x10, 8, (var_fs0 * arg3) + arg0, arg1, arg3, arg3);
} else {
func_800BA490();
RCP_SetupDL_76();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
func_8008C390((var_fs0 * arg3) + arg0, arg1, arg3, var_s2);
var_fs0 += 9.0f;
@@ -1567,7 +1567,7 @@ void func_8008F96C(void) {
func_8008E5E8();
}
func_800B9358();
RCP_SetupDL_36();
if ((D_80177880 != 2) && (D_80161708 != 0)) {
func_8008D4F0(246.0f, 28.0f);
@@ -1621,19 +1621,19 @@ void func_800907C4(Object_408* arg0) {
}
s32 func_8009092C(Object_2F4* arg0) {
s32 var_s5 = 0;
bool var_s5 = false;
Object_408* var_s1;
s32 i = 0;
if (arg0->unk_0E6 != 0) {
return 1;
return true;
}
var_s1 = &D_8016F110[1];
for (i = 1; i < 4; i++, var_s1++) {
if (var_s1->obj.status == 2) {
var_s5 = 1;
var_s5 = true;
if (arg0->unk_0E6 == 0) {
arg0->unk_0E6 = i;
} else if (Rand_ZeroOne() > 0.4f) {
@@ -1868,15 +1868,15 @@ s32 func_80091368(Object_2F4* arg0) {
switch (arg0->unk_0E4) {
case 1:
func_800BA808(D_801839B8, 10);
func_800BA808(gMsg_ID_20220, 10);
break;
case 3:
func_800BA808(D_80183A08, 30);
func_800BA808(gMsg_ID_20221, 30);
break;
case 2:
func_800BA808(D_80183A64, 20);
func_800BA808(gMsg_ID_20222, 20);
break;
}
D_801778B0[arg0->unk_0E4] = -1;
@@ -2107,13 +2107,13 @@ s32 func_80091F00(Object_2F4* arg0) {
if ((arg0->unk_0D0 == 3) && (arg0->unk_0D4 == 1)) {
switch (arg0->unk_0E4) {
case 1:
func_800BA808(D_8018398C, 10);
func_800BA808(gMsg_ID_20210, 10);
break;
case 3:
func_800BA808(D_80183950, 30);
func_800BA808(gMsg_ID_20200, 30);
break;
case 2:
func_800BA808(D_80183900, 20);
func_800BA808(gMsg_ID_20190, 20);
break;
}
}
@@ -2121,13 +2121,13 @@ s32 func_80091F00(Object_2F4* arg0) {
if ((arg0->unk_0D0 != 3) && (arg0->unk_0D4 == 1)) {
switch (arg0->unk_0E4) {
case 1:
func_800BA808(D_801836B0, 10);
func_800BA808(gMsg_ID_20060, 10);
break;
case 3:
func_800BA808(D_801836F8, 30);
func_800BA808(gMsg_ID_20070, 30);
break;
case 2:
func_800BA808(D_80183724, 20);
func_800BA808(gMsg_ID_20080, 20);
break;
}
}
@@ -2135,13 +2135,13 @@ s32 func_80091F00(Object_2F4* arg0) {
if ((arg0->unk_0D4 == 2) || (arg0->unk_0D4 == 100)) {
switch (arg0->unk_0E4) {
case 1:
func_800BA808(D_80183630, 10);
func_800BA808(gMsg_ID_20030, 10);
break;
case 3:
func_800BA808(D_8018366C, 30);
func_800BA808(gMsg_ID_20040, 30);
break;
case 2:
func_800BA808(D_80183690, 20);
func_800BA808(gMsg_ID_20050, 20);
break;
}
}
+4 -4
View File
@@ -2237,7 +2237,7 @@ void func_EBFBE0_80198608(s32 arg0, s32 arg1, f32 arg2, f32 arg3) {
void func_EBFBE0_8019882C(s32 arg0, s32 arg1, f32 arg2, f32 arg3) {
s32 temp;
s8* sp20;
char* sp20;
f32 temp2;
if ((arg3 > 58.0f) && (arg3 < 197.0f)) {
@@ -2683,7 +2683,7 @@ void func_EBFBE0_80199820(s32 arg0) {
void func_EBFBE0_80199EA8(void) {
s32 i;
func_800BA490();
RCP_SetupDL_76();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255);
@@ -3029,7 +3029,7 @@ void func_EBFBE0_8019AB30(void) {
colorGB = D_EBFBE0_801B9368;
var_v0 = 0xFFFFFFFFF;
var_v0 = 0xFFFFFFFF;
if (D_EBFBE0_801B936C != 0) {
colorGB = 255;
@@ -3365,7 +3365,7 @@ void func_EBFBE0_8019BC44(f32 x, f32 y, f32 arg2, f32 arg3, f32 arg4, f32 arg5)
Matrix_SetGfxMtx(&gMasterDisp);
func_800B9E80();
RCP_SetupDL_55();
gSPDisplayList(gMasterDisp++, D_604A9F0);
+12 -12
View File
@@ -476,7 +476,7 @@ void func_EBFBE0_801881FC(void) {
D_EBFBE0_801B8350[1].unk_00.y = -7.0f;
D_EBFBE0_801B8350[1].unk_00.z = -12.0f;
D_EBFBE0_801B8350[1].unk_48 = -2.009996f;
D_EBFBE0_801B8350[1].unk_4C = 56.909969f;
D_EBFBE0_801B8350[1].unk_4C = 56.90997f;
D_EBFBE0_801B8350[1].unk_50 = 0.00f;
} else {
D_EBFBE0_801B8350[1].unk_00.x = 147.0f;
@@ -508,7 +508,7 @@ void func_EBFBE0_801881FC(void) {
D_EBFBE0_801B8350[2].unk_00.y = 1.00f;
D_EBFBE0_801B8350[2].unk_00.z = -143.0f;
D_EBFBE0_801B8350[2].unk_48 = -0.500016f;
D_EBFBE0_801B8350[2].unk_4C = -33.319988f;
D_EBFBE0_801B8350[2].unk_4C = -33.31999f;
D_EBFBE0_801B8350[2].unk_50 = 0.00f;
} else {
D_EBFBE0_801B8350[2].unk_00.x = -143.0f;
@@ -978,7 +978,7 @@ void func_EBFBE0_8018994C(void) {
if (D_EBFBE0_801B82B8 == 638) {
func_80019218(0x11030010, &D_EBFBE0_801B867C, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
func_80019218(0x31024059, &D_EBFBE0_801B867C, 0, &D_800C5D34, &D_800C5D34, &D_800C5D3C);
func_800BA808(D_8017A0F4, 300);
func_800BA808(gMsg_ID_60, 300);
}
if (D_EBFBE0_801B82B8 == 838) {
@@ -2197,9 +2197,9 @@ void func_EBFBE0_8018D510(s32 arg0) {
Matrix_Translate(gGfxMatrix, 0.0f, 0.0f, var_fa0, 1);
Matrix_Scale(gGfxMatrix, var_fv0, var_fv0 * 0.7f, var_fv0, 1);
Matrix_RotateZ(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_20 * 0.017453292f, 1);
Matrix_RotateX(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_18 * 0.017453292f, 1);
Matrix_RotateY(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_1C * 0.017453292f, 1);
Matrix_RotateZ(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_20 * M_DTOR, 1);
Matrix_RotateX(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_18 * M_DTOR, 1);
Matrix_RotateY(gGfxMatrix, -D_EBFBE0_801B84E8[arg0].unk_1C * M_DTOR, 1);
sp3C = -Math_Atan2F(D_80177978 - D_EBFBE0_801B84E8[arg0].unk_00.x, D_80177988 - D_EBFBE0_801B84E8[arg0].unk_00.z);
temp = sqrtf(SQ(D_80177988 - D_EBFBE0_801B84E8[arg0].unk_00.z) + SQ(D_80177978 - D_EBFBE0_801B84E8[arg0].unk_00.x));
@@ -2297,10 +2297,10 @@ void func_EBFBE0_8018DDB8(s32 arg0) {
gGfxMatrix, 0.0f,
(D_EBFBE0_801B9050 - D_EBFBE0_801B84E8[arg0].unk_00.y * 2.05f) + (D_EBFBE0_801B9048 - 84.0f) * 1.99f, 0.0f, 1);
Matrix_Scale(gGfxMatrix, 1.0f, 1.0f, 1.0f, 1);
Matrix_RotateY(gGfxMatrix, 3.1415927f, 1);
Matrix_RotateY(gGfxMatrix, M_PI, 1);
Matrix_SetGfxMtx(&gMasterDisp);
func_800BA140();
RCP_SetupDL_64();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 240);
gSPDisplayList(gMasterDisp++, D_6032580);
@@ -2437,7 +2437,7 @@ void func_EBFBE0_8018E67C(s32 arg0) {
sp5C = D_EBFBE0_801B8350[arg0].unk_58 % Animation_GetFrameCount(D_EBFBE0_801ADA00[arg0].unk_0);
func_800BA1D0(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
Matrix_Push(&gGfxMatrix);
@@ -2472,14 +2472,14 @@ void func_EBFBE0_8018E67C(s32 arg0) {
Matrix_SetGfxMtx(&gMasterDisp);
func_800BA140();
RCP_SetupDL_64();
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 128);
gSPDisplayList(gMasterDisp++, D_6041070);
Matrix_Pop(&gGfxMatrix);
temp_fv1 = __sinf((f32) sp5C * 12.0f * 0.017453292f) * 15.0f;
temp_fv1 = __sinf((f32) sp5C * 12.0f * M_DTOR) * 15.0f;
if (temp_fv1 >= 0) {
D_EBFBE0_801B8350[arg0].unk_0C = temp_fv1;
@@ -2673,7 +2673,7 @@ void func_EBFBE0_8018F438(void) {
D_EBFBE0_801B82C8 += 70.0f;
D_EBFBE0_801B82C8 = Math_ModF(D_EBFBE0_801B82C8, 4101.6f);
func_800BA1D0(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
RCP_SetupDL_29(D_80178320, D_80178328, D_80178330, 255, 995, 1000);
Matrix_Push(&gGfxMatrix);
+1 -1
View File
@@ -203,7 +203,7 @@
start: 0xDDC010
- name: ast_DE5D50
type: data
type: code
dir: assets
start: 0xDE5D50
vram: 0x80179010
+1
View File
@@ -23,6 +23,7 @@ options:
- linker_scripts/us/symbol_addrs_nlib_funcs.txt
- linker_scripts/us/symbol_addrs_nlib_vars.txt
- linker_scripts/us/symbol_addrs_assets.txt
- linker_scripts/us/symbol_addr_mesg.txt
- linker_scripts/us/symbol_addrs_overlays.txt
- linker_scripts/us/symbol_addrs_EBFBE0.txt
- linker_scripts/us/ignored_addresses.txt
+9 -1
View File
@@ -1,3 +1,11 @@
- name: makerom
type: code
start: 0x0
subsegments:
- {start: 0x0, type: header, name: header}
- {start: 0x40, type: bin, name: ipl3}
- {start: 0x1000, type: asm, vram: 0x80000400, name: entry}
- name: main
type: code
dir: main
@@ -351,7 +359,7 @@
- { start: 0xDE480, type: .bss, vram: 0x80178870, name: fox_save }
- name: dma_table
type: data
type: code
dir: main
start: 0xDE480
vram: 0x80178A70
-8
View File
@@ -1,8 +0,0 @@
- name: makerom
type: code
start: 0x0
subsegments:
- {start: 0x0, type: header, name: header}
- {start: 0x40, type: bin, name: ipl3}
- {start: 0x1000, type: asm, vram: 0x80000400, name: entry}