mirror of
https://github.com/zeldaret/tmc
synced 2026-08-01 08:17:33 -04:00
Decompile graphics group loading function
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "entity.h"
|
||||
#include "screen.h"
|
||||
|
||||
extern void sub_0801D7EC(u32);
|
||||
extern void LoadGfxGroup(u32);
|
||||
extern void sub_08056250(void);
|
||||
extern void sub_080570B8(Entity*);
|
||||
void sub_080570F8(void);
|
||||
@@ -23,7 +23,7 @@ void Manager1(Entity *this)
|
||||
bVar1 = gUnk_08107C40[((u8*)&this->field_0x20)[1]];
|
||||
if ((bVar1 != 0) && (*(u8 *)&this->field_0x20 != bVar1)) {
|
||||
((u8*)&this->field_0x20)[0] = bVar1;
|
||||
sub_0801D7EC(bVar1);
|
||||
LoadGfxGroup(bVar1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ void sub_080570B8(Entity *this)
|
||||
{
|
||||
u8 *pbVar1;
|
||||
|
||||
sub_0801D7EC(((u8 *)&this->field_0x20)[0]);
|
||||
LoadGfxGroup(((u8 *)&this->field_0x20)[0]);
|
||||
this->height.WORD = 0;
|
||||
pbVar1 = ((u8 *)&this->field_0x20 + 1);
|
||||
if (*pbVar1 == 3) {
|
||||
|
||||
Reference in New Issue
Block a user