Match PlayerItemBomb

This commit is contained in:
hatal175
2022-01-11 15:42:07 +01:00
parent 688508b1af
commit b09b80f9d9
2 changed files with 3 additions and 103 deletions
+3 -4
View File
@@ -13,13 +13,13 @@ extern void sub_08079BD8(Entity*);
extern void sub_08008796(Entity*, u32, u32, u32);
NONMATCH("asm/non_matching/playerItemBomb/PlayerItemBomb.inc", void PlayerItemBomb(Entity* this)) {
u8 uVar1;
void PlayerItemBomb(Entity* this) {
u8 uVar1, uVar2;
gUnk_080B77C8[this->action](this);
GetNextFrame(this);
// TODO regalloc
uVar1 = this->action;
uVar2 = uVar1 = this->action;
if (uVar1 != 0x03) {
if (this->actionDelay != 0) {
if (this->field_0x68.HALF.LO == 7) {
@@ -52,7 +52,6 @@ NONMATCH("asm/non_matching/playerItemBomb/PlayerItemBomb.inc", void PlayerItemBo
}
}
}
END_NONMATCH
ASM_FUNC("asm/non_matching/playerItemBomb/sub_0801B250.inc", void sub_0801B250(Entity* this))