Puppylights
This commit is contained in:
1 parent
2d58bddd06
commit
2a78404ef5
16 files changed
+505
-36
No files matched your search
@@ -13,6 +13,7 @@
|
||||
#include "game/object_list_processor.h"
|
||||
#include "graph_node.h"
|
||||
#include "surface_collision.h"
|
||||
#include "game/puppylights.h"
|
||||
|
||||
// Macros for retrieving arguments from behavior scripts.
|
||||
#define BHV_CMD_GET_1ST_U8(index) (u8)((gCurBhvCommand[index] >> 24) & 0xFF) // unused
|
||||
@@ -982,6 +983,10 @@ void cur_obj_update(void) {
|
||||
obj_update_gfx_pos_and_angle(gCurrentObject);
|
||||
}
|
||||
|
||||
#ifdef PUPPYLIGHTS
|
||||
puppylights_object_emit(gCurrentObject);
|
||||
#endif
|
||||
|
||||
// Handle visibility of object
|
||||
if (gCurrentObject->oRoom != -1) {
|
||||
// If the object is in a room, only show it when Mario is in the room.
|
||||
|
||||
Reference in new issue
Block a user