mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
fix kmr_12 split
This commit is contained in:
parent
f9a667bc7d
commit
dd72dfcd1f
@ -2,6 +2,8 @@
|
||||
#include "script_api/map.h"
|
||||
|
||||
Bytecode kmr_12_play_music[];
|
||||
ApiStatus get_goomba_ref(ScriptInstance* script, s32 isInitialCall);
|
||||
|
||||
Bytecode make_entities[];
|
||||
Bytecode read_sign[];
|
||||
|
||||
@ -61,11 +63,6 @@ StaticNpcSettings goomba_npc_settings = {
|
||||
.defeatScript = (Bytecode*)0x8007809C,
|
||||
};
|
||||
|
||||
ApiStatus get_goomba_ref(ScriptInstance* script, s32 isInitialCall) {
|
||||
script->varTable[0] = get_enemy_safe(0);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
Bytecode read_sign[] = { // *INDENT-OFF*
|
||||
SI_GROUP(0),
|
||||
|
||||
|
@ -20,3 +20,8 @@ Bytecode kmr_12_play_music[] = {
|
||||
SI_RETURN(),
|
||||
SI_END(),
|
||||
};
|
||||
|
||||
ApiStatus get_goomba_ref(ScriptInstance* script, s32 isInitialCall) {
|
||||
script->varTable[0] = get_enemy_safe(0);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -1151,10 +1151,9 @@ segments:
|
||||
start: 0x8EB360
|
||||
vram: 0x80240000
|
||||
files:
|
||||
- [0x8EB360, "c", "world/area_kmr/kmr_12/events"]
|
||||
- [0x8EB360, "c", "world/area_kmr/kmr_12/header"]
|
||||
- [0x8EB390, ".data", "world/area_kmr/kmr_12/header"]
|
||||
- [0x8EB360, "c", "world/area_kmr/kmr_12/events"]
|
||||
- [0x8EB360, ".data", "world/area_kmr/kmr_12/events"]
|
||||
- [0x8EB420, ".data", "world/area_kmr/kmr_12/events"]
|
||||
- [0x8EBE10, ".rodata", "world/area_kmr/kmr_12/events"]
|
||||
- name: world/area_kmr/kmr_20
|
||||
type: code
|
||||
|
Loading…
Reference in New Issue
Block a user