text: #ifndef TRIFORCE_H 
  #define TRIFORCE_H 
  
  #include "z64.h"
  #include "gfx.h"
  #include "text.h"
  #include "util.h"
  
  extern uint16_t triforce_hunt_enabled;
  extern uint16_t triforce_pieces_requied;
  
  void draw_triforce_count();
  void set_triforce_render();
  
  #define BLOCK_TRIFORCE (0x00000001 | \
                      0x00000002 | \
                      0x00000080 | \
                      0x00000400 | \
                      0x10000000 | \
                      0x20000000)
  
  #define CAN_DRAW_TRIFORCE   (((z64_link.state_flags_1 & BLOCK_TRIFORCE ) == 0) && \
                              ((uint32_t)z64_ctxt.state_dtor==z64_state_ovl_tab[3].vram_dtor) && \
                              (z64_file.interface_flag==0) && \
                              ((z64_event_state_1 & 0x20)==0))
  
  #endif
  