shithub: zelda3

ref: f83f949d200c1cd6c07bd50ce5108f7dea80660c
dir: /variables_attract.h/

View raw version
#define attract_var12 (*(uint16*)(g_ram+0x20))
#define attract_state (*(uint8*)(g_ram+0x22))
#define attract_sequence (*(uint8*)(g_ram+0x23))
#define attract_var10 (*(uint8*)(g_ram+0x25))
#define attract_next_legend_gfx (*(uint8*)(g_ram+0x26))
#define attract_legend_flag (*(uint8*)(g_ram+0x27))
#define attract_x_base (*(uint8*)(g_ram+0x28))
#define attract_y_base (*(uint8*)(g_ram+0x29))
#define attract_oam_idx (*(uint8*)(g_ram+0x2A))
#define attract_var9 (*(uint8*)(g_ram+0x2B))
#define attract_var13 (*(uint8*)(g_ram+0x2C))
#define attract_var7 (*(uint16*)(g_ram+0x2D))
#define attract_vram_dst (*(uint16*)(g_ram+0x30))
#define attract_var1 (*(uint8*)(g_ram+0x32))
#define attract_var3 (*(uint8*)(g_ram+0x33))
#define attract_var4 (*(uint8*)(g_ram+0x34))
#define attract_x_base_hi (*(uint8*)(g_ram+0x40))
#define attract_var17 (*(uint8*)(g_ram+0x50))
#define attract_var21 (*(uint8*)(g_ram+0x51))
#define attract_var15 (*(uint8*)(g_ram+0x52))
#define attract_var22 (*(uint8*)(g_ram+0x5D))
#define attract_var18 (*(uint8*)(g_ram+0x5F))
#define attract_var5 (*(uint8*)(g_ram+0x60))
#define attract_var11 (*(uint8*)(g_ram+0x61))
#define attract_var19 (*(uint8*)(g_ram+0x62))
#define attract_var20 (*(uint8*)(g_ram+0x63))
#define selectfile_arr1 ((uint16*)(g_ram+0xBF))
#define selectfile_arr2 ((uint8*)(g_ram+0xCA))
#define selectfile_var6 (*(uint8*)(g_ram+0xCC))
#define attract_room_index (*(uint8*)(g_ram+0x10E))
#define attract_legend_ctr (*(uint16*)(g_ram+0x200))
#define selectfile_var8 (*(uint16*)(g_ram+0x630))
#define selectfile_var3 (*(uint8*)(g_ram+0xB10))
#define selectfile_var7 (*(uint8*)(g_ram+0xB11))
#define selectfile_var4 (*(uint8*)(g_ram+0xB12))
#define selectfile_var9 (*(uint8*)(g_ram+0xB13))
#define selectfile_var11 (*(uint8*)(g_ram+0xB14))
#define selectfile_var5 (*(uint8*)(g_ram+0xB15))
#define selectfile_var10 (*(uint8*)(g_ram+0xB16))
#define selectfile_var2 (*(uint8*)(g_ram+0xB9D))