mirror of https://github.com/zeldaret/tmc.git
Decompile objectA7
This commit is contained in:
parent
8aa9c2876a
commit
e4cd697f54
|
|
@ -1,34 +0,0 @@
|
|||
.include "asm/macros.inc"
|
||||
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
.text
|
||||
|
||||
|
||||
thumb_func_start ObjectA7
|
||||
ObjectA7: @ 0x0809F9AC
|
||||
push {r4, lr}
|
||||
adds r4, r0, #0
|
||||
ldrb r0, [r4, #0xc]
|
||||
cmp r0, #0
|
||||
bne _0809F9D2
|
||||
movs r0, #1
|
||||
strb r0, [r4, #0xc]
|
||||
adds r2, r4, #0
|
||||
adds r2, #0x29
|
||||
ldrb r1, [r2]
|
||||
subs r0, #9
|
||||
ands r0, r1
|
||||
movs r1, #6
|
||||
orrs r0, r1
|
||||
strb r0, [r2]
|
||||
adds r0, r4, #0
|
||||
movs r1, #0
|
||||
bl InitializeAnimation
|
||||
_0809F9D2:
|
||||
adds r0, r4, #0
|
||||
bl GetNextFrame
|
||||
pop {r4, pc}
|
||||
.align 2, 0
|
||||
|
|
@ -791,7 +791,7 @@ SECTIONS {
|
|||
src/object/minishLight.o(.text);
|
||||
asm/object/fireballChain.o(.text);
|
||||
asm/object/objectA6.o(.text);
|
||||
asm/object/objectA7.o(.text);
|
||||
src/object/objectA7.o(.text);
|
||||
src/object/objectA8.o(.text);
|
||||
asm/object/objectA9.o(.text);
|
||||
src/object/waterfallOpening.o(.text);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
#define NENT_DEPRECATED
|
||||
#include "entity.h"
|
||||
|
||||
void ObjectA7(Entity* this) {
|
||||
if (this->action == 0) {
|
||||
this->action = 1;
|
||||
this->spritePriority.b0 = 6;
|
||||
InitializeAnimation(this, 0);
|
||||
}
|
||||
GetNextFrame(this);
|
||||
}
|
||||
Loading…
Reference in New Issue