mirror of https://github.com/zeldaret/tmc.git
Put const data in manager38
This commit is contained in:
parent
6ca6b480b4
commit
6e38ea7c86
|
|
@ -1,9 +0,0 @@
|
|||
.include "asm/macros.inc"
|
||||
.include "constants/constants.inc"
|
||||
|
||||
.section .rodata
|
||||
.align 2
|
||||
|
||||
gUnk_08108DE0:: @ 08108DE0
|
||||
.4byte sub_0805E0C0
|
||||
.4byte sub_0805E0F4
|
||||
|
|
@ -1145,7 +1145,7 @@ SECTIONS {
|
|||
src/manager/manager35.o(.rodata);
|
||||
src/manager/manager36.o(.rodata);
|
||||
src/manager/manager37.o(.rodata);
|
||||
data/const/manager/manager38.o(.rodata);
|
||||
src/manager/manager38.o(.rodata);
|
||||
data/const/manager/manager39.o(.rodata);
|
||||
data/data_08108E6C.o(.rodata);
|
||||
src/playerItem/playerItemSpiralBeam.o(.rodata);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,17 @@
|
|||
#include "entity.h"
|
||||
#include "room.h"
|
||||
|
||||
extern void (*const gUnk_08108DE0[])(Entity*);
|
||||
|
||||
extern Entity* LoadRoomEntity(EntityData*);
|
||||
|
||||
void sub_0805E0C0(Entity*);
|
||||
void sub_0805E0F4(Entity*);
|
||||
|
||||
void Manager38_Main(Entity* this) {
|
||||
gUnk_08108DE0[this->action](this);
|
||||
static void (*const actionFuncs[])(Entity*) = {
|
||||
sub_0805E0C0,
|
||||
sub_0805E0F4,
|
||||
};
|
||||
actionFuncs[this->action](this);
|
||||
}
|
||||
|
||||
void sub_0805E0C0(Entity* this) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue