mirror of https://github.com/zeldaret/tmc.git
curtain: Added const data
This commit is contained in:
parent
c1c356d22a
commit
8e56dfeec0
|
|
@ -1,19 +0,0 @@
|
|||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
|
||||
gUnk_080D1CC8:: @ 080D1CC8
|
||||
.4byte sub_080481D0
|
||||
.4byte sub_080481E8
|
||||
.4byte sub_08001324
|
||||
.4byte sub_0804A7D4
|
||||
.4byte sub_08001242
|
||||
.4byte nullsub_26
|
||||
|
||||
gUnk_080D1CE0:: @ 080D1CE0
|
||||
.4byte sub_08048224
|
||||
.4byte sub_08048268
|
||||
.4byte sub_08048294
|
||||
.4byte nullsub_27
|
||||
|
|
@ -1101,7 +1101,7 @@ SECTIONS {
|
|||
data/const/enemy/gyorgFemale.o(.rodata);
|
||||
src/enemy/gyorgMale.o(.rodata);
|
||||
data/animations/enemy/gyorgMale.o(.rodata);
|
||||
data/const/enemy/curtain.o(.rodata);
|
||||
src/enemy/curtain.o(.rodata);
|
||||
data/animations/enemy/curtain.o(.rodata);
|
||||
src/enemy/vaatiWrathEye.o(.rodata);
|
||||
data/animations/enemy/vaatiWrathEye.o(.rodata);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#include "enemy.h"
|
||||
#include "entity.h"
|
||||
|
||||
extern void (*const gUnk_080D1CC8[])(Entity*);
|
||||
extern void (*const gUnk_080D1CE0[])(Entity*);
|
||||
void (*const gUnk_080D1CC8[])(Entity*);
|
||||
void (*const gUnk_080D1CE0[])(Entity*);
|
||||
|
||||
void Curtain(Entity* this) {
|
||||
EnemyFunctionHandler(this, gUnk_080D1CC8);
|
||||
|
|
@ -67,3 +67,14 @@ void sub_08048294(Entity* this) {
|
|||
|
||||
void nullsub_27() {
|
||||
}
|
||||
|
||||
void (*const gUnk_080D1CC8[])(Entity*) = {
|
||||
sub_080481D0, sub_080481E8, sub_08001324, sub_0804A7D4, sub_08001242, nullsub_26,
|
||||
};
|
||||
|
||||
void (*const gUnk_080D1CE0[])(Entity*) = {
|
||||
sub_08048224,
|
||||
sub_08048268,
|
||||
sub_08048294,
|
||||
nullsub_27,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue