You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Bugfix: Fix reference to missing function (#589)
This commit is contained in:
@@ -1882,7 +1882,11 @@ void bhv_init_room(void) {
|
||||
|
||||
s32 is_mario_in_room(void) {
|
||||
if (o->oRoom != -1 && gMarioCurrentRoom != 0) {
|
||||
if (is_room_loaded()) {
|
||||
if (
|
||||
gMarioCurrentRoom == o->oRoom ||
|
||||
gDoorAdjacentRooms[gMarioCurrentRoom][0] == o->oRoom ||
|
||||
gDoorAdjacentRooms[gMarioCurrentRoom][1] == o->oRoom
|
||||
) {
|
||||
return MARIO_INSIDE_ROOM;
|
||||
}
|
||||
return MARIO_OUTSIDE_ROOM;
|
||||
|
||||
@@ -241,7 +241,6 @@ void cur_obj_call_action_function(ObjActionFunc actionFunctions[]);
|
||||
s32 cur_obj_mario_far_away(void);
|
||||
s32 is_mario_moving_fast_or_in_air(s32 speedThreshold);
|
||||
s32 is_item_in_array(s8 item, s8 *array);
|
||||
u32 is_room_loaded(void);
|
||||
s32 is_mario_in_room(void);
|
||||
void cur_obj_enable_disable_room_rendering(s32 inRoom);
|
||||
s32 cur_obj_set_hitbox_and_die_if_attacked(struct ObjectHitbox *hitbox, s32 deathSound, s32 noLootCoins);
|
||||
|
||||
Reference in New Issue
Block a user