Files
pmd-red/src/code_80428A0.c
T
Cheng Hann Gan 938a88551f Labeled more symbols (#77)
* Labeled more symbols

* Fixed comment typo

* Renamed some functions
2021-11-20 08:47:46 -08:00

149 lines
2.4 KiB
C

#include "global.h"
#include "dungeon_entity.h"
extern void sub_804151C(struct DungeonEntity *r0, u32 r1, u8 r2);
extern void sub_803E708(u32 r0, u32 r1);
extern void sub_80416A4(struct DungeonEntity *r0, u32 r1, u32 r2);
extern void sub_80421C0(struct DungeonEntity *r0, u16 r1);
void sub_80428A0(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x29, 1);
}
void sub_80428B0(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_80428C4(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_80428D8(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_80428EC(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_8042900(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xD4 << 1, 0);
}
void ShowVisualFlags(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x29, 0);
}
void sub_8042920(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x48, 0);
}
void sub_8042930(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xD3 << 1, 1);
}
void sub_8042940(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xC7 << 1, 0);
}
void sub_8042950(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xD8 << 1, 1);
sub_803E708(0xA, 0x42);
}
void sub_8042968(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xD4 << 1, 0);
}
void sub_8042978(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_804298C(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1a9, 0);
}
void sub_80429A0(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x199, 0);
}
void sub_80429B4(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x1ab, 0);
}
void sub_80429C8(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x4, 1);
}
void sub_80429D8(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x8F << 1, 1);
}
void sub_80429E8(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x11d, 1);
}
void sub_80429FC(struct DungeonEntity *r0)
{
sub_80416A4(r0, 0xCF << 1, 1);
sub_80421C0(NULL, 0xD4);
}
void sub_8042A14(struct DungeonEntity *r0)
{
sub_80416A4(r0, 0x36, 1);
}
void sub_8042A24(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x15, 1);
}
void sub_8042A34(struct DungeonEntity *r0)
{
sub_80416A4(r0, 0x9F << 1, 0);
}
void sub_8042A44(struct DungeonEntity *r0)
{
sub_804151C(r0, 0xDA << 1, 1);
}
void sub_8042A54(struct DungeonEntity *r0)
{
sub_80416A4(r0, 0x37, 1);
}
void sub_8042A64(struct DungeonEntity *r0)
{
sub_80416A4(r0, 0x29, 1);
}
void sub_8042A74(struct DungeonEntity *r0)
{
sub_804151C(r0, 0x18, 1);
}