
// Cinematic stuff
#define cinematic_var5 (*(uint16*)(g_ram+0x198D))
#define cinematic_var6 (*(uint16*)(g_ram+0x198F))
#define cinematic_var7 (*(uint16*)(g_ram+0x1991))
#define cinematic_var8 (*(uint16*)(g_ram+0x1993))
#define cinematic_var9 (*(uint16*)(g_ram+0x1995))
#define cinematic_var10 (*(uint16*)(g_ram+0x1997))

#define g_word_7E1999 (*(uint16*)(g_ram+0x1999))
#define g_word_7E199B (*(uint16*)(g_ram+0x199B))
#define g_word_7E199D (*(uint16*)(g_ram+0x199D))
#define g_word_7E199F (*(uint16*)(g_ram+0x199F))
#define mode7_obj_instr_ptr ((uint16*)(g_ram+0x19A1))
#define mode7_obj_preinstr_func ((uint16*)(g_ram+0x19A5))
#define mode7_obj_instr_timer ((uint16*)(g_ram+0x19A9))
#define mode7_obj_goto_timer ((uint16*)(g_ram+0x19AD))
#define mode7_cur_index (*(uint16*)(g_ram+0x19B1))
#define mode7_spawn_param (*(uint16*)(g_ram+0x19B3))
#define cinematicbg_arr1 ((uint16*)(g_ram+0x19B5))
#define cinematicbg_instr_ptr ((uint16*)(g_ram+0x19CD))
#define cinematicbg_preinstr ((uint16*)(g_ram+0x19D5))
#define cinematicbg_instr_timer ((uint16*)(g_ram+0x19DD))
#define cinematicbg_arr6 ((uint16*)(g_ram+0x19E5))
#define cinematicbg_var2 (*(uint16*)(g_ram+0x19ED))
#define cinematic_enable_objs (*(uint16*)(g_ram+0x19F1))
#define cinematic_enable_bg_tilemap (*(uint16*)(g_ram+0x19F3))
#define cinematicbg_var3 (*(uint16*)(g_ram+0x19F5))
#define cinematic_var21 (*(uint16*)(g_ram+0x19F7))
#define cinematic_var22 (*(uint16*)(g_ram+0x19F9))
#define cinematic_var23 (*(uint16*)(g_ram+0x19FB))
#define cinematic_var24 (*(uint16*)(g_ram+0x19FD))
#define cinematic_var25 (*(uint16*)(g_ram+0x19FF))
#define cinematic_var26 (*(uint16*)(g_ram+0x1A01))
#define eproj_pre_instr ((uint16*)(g_ram+0x1A03))
#define cinematic_var20 (*(uint16*)(g_ram+0x1A37))
#define cinematic_var19 (*(uint16*)(g_ram+0x1A47))
#define cinematic_var4 (*(uint16*)(g_ram+0x1A49))
#define cinematic_var13 (*(uint16*)(g_ram+0x1A4B))
#define cinematic_var14 (*(uint16*)(g_ram+0x1A4D))
#define cinematic_var17 (*(uint16*)(g_ram+0x1A4F))
#define cinematic_var12 (*(uint16*)(g_ram+0x1A51))
#define cinematic_var18 (*(uint16*)(g_ram+0x1A53))
#define cinematic_var15 (*(uint16*)(g_ram+0x1A57))
#define cinematic_obj_index (*(uint16*)(g_ram+0x1A59))
#define cinematicspr_whattodraw ((uint16*)(g_ram+0x1A5D))
#define cinematicbg_arr7 ((uint16*)(g_ram+0x1A7D))
#define cinematicbg_arr8 ((uint16*)(g_ram+0x1A9D))
#define cinematicbg_arr9 ((uint16*)(g_ram+0x1ABD))
#define cinematicspr_arr6 ((uint16*)(g_ram+0x1ADD))
#define cinematicspr_arr7 ((uint16*)(g_ram+0x1AFD))
#define cinematicspr_instr_ptr ((uint16*)(g_ram+0x1B1D))
#define cinematicspr_preinstr_func ((uint16*)(g_ram+0x1B3D))
#define cinematicspr_instr_timer ((uint16*)(g_ram+0x1B5D))
#define cinematicspr_goto_timer ((uint16*)(g_ram+0x1B7D))
#define cinematic_spawn_param (*(uint16*)(g_ram+0x1B9D))
#define cinematic_var11 (*(uint16*)(g_ram+0x1B9F))
#define cinematicbg_var1 (*(uint16*)(g_ram+0x1BA1))
#define cinematic_var16 (*(uint16*)(g_ram+0x1BA3))


#define optionsmenu_index (*(uint16*)(g_ram+0x1A8F))
#define options_menu_init_param (*(uint16*)(g_ram+0x1A93))
#define optionsmenu_cur_data ((uint16*)(g_ram+0x1A9D))
#define optionsmenu_arr8 ((uint16*)(g_ram+0x1AAD))
#define optionsmenu_arr9 ((uint16*)(g_ram+0x1ABD))
#define optionsmenu_arr10 ((uint16*)(g_ram+0x1ACD))
#define optionsmenu_arr6 ((uint16*)(g_ram+0x1ADD))
#define optionsmenu_arr7 ((uint16*)(g_ram+0x1AED))
#define optionsmenu_instr_ptr ((uint16*)(g_ram+0x1AFD))
#define optionsmenu_arr1 ((uint16*)(g_ram+0x1B0D))
#define optionsmenu_instr_timer ((uint16*)(g_ram+0x1B1D))
#define optionsmenu_arr5 ((uint16*)(g_ram+0x1B2D))
#define optionsmenu_arr11 ((uint16*)(g_ram+0x1B3D))
