#pragma once

#include "mw4_types.h"

// FIXME
/* word IO_PCBVER+1; */
byte VDP_PSG;
word IO_Z80BUS;
word IO_Z80RES;
word IO_CT1_CTRL;
undefined1 z80_ram;
dword IO_TMSS;
word IO_EXT_CTRL;
word VDP_DATA;
undefined1 DAT_000002a8;
union2_t VDP_CTRL;
undefined1 DAT_ffff96ba;
undefined1 DAT_ffff968b;
undefined1 DAT_ffff968d;
undefined1 DAT_ffffe230;
undefined1 DAT_ffff96b0;
undefined2 DAT_ffffc714;
undefined1 DAT_ffff9101;
undefined1 DAT_ffffcb2c;
char DAT_ffffcbb0;
undefined2 DAT_ffff9102;
undefined1 DAT_ffff9100;
pointer PTR_SSP_00000454;
undefined2 DAT_ffff9104;
/* FIXME It's a function. */
/* undefined sega_and_title_screen; */
gamepad_t gamepad_pressed_prev;
gamepad_t gamepad_pressed;
gamepad_t gamepad_held_prev;
undefined related_to_palette_maybe_1;
undefined related_to_palette_maybe_2;
vdp_reg_t vdp_ctrl_mode_set_2_state;
gamepad_t gamepad_held_3;
undefined vdp_related_to_display_1;
// FIXME Redefined.
/* char DAT_ffff9101; */
// FIXME Redefined.
/* short DAT_ffff9102; */
undefined1 *DAT_ffff910c;
// FIXME Redefined.
/* char DAT_ffff9100; */
// FIXME Redefined.
/* char DAT_ffff96b0; */
// FIXME Redefined.
/* undefined8 *DAT_ffff910c; */
/* FIXME It's a function. */
/* undefined FUN_00000568; */
undefined4 DAT_ffff90fc;
func *PTR_ffff96b2;
undefined2 DAT_ffff91ce;
word io_z80bus_tmp;
/* FIXME Why is there a plus? */
/* union2_t VDP_CTRL+1; */
vdp_draw_pos_t VDP_DRAW_POS;
undefined DAT_ffff91cc;
char DAT_ffff9628;
undefined2 DAT_ffff9630;
byte vdp_related_to_display_asha;
undefined4 vdp_gfx_ptr_5;
word vdp_related_to_hblank_effects_2;
union2_t vdp_related_to_hblank_y_pos_pepelogoo;
word vdp_data_92e[11];
undefined related_to_palettes;
byte palette_fade_done_0;
byte palette_fade_done_1;
byte palette_fade_done_2;
byte palette_fade_done_3;
undefined1 DAT_ffffc708;
// FIXME Redefined.
/* short DAT_ffffc714; */
undefined2 some_word_array;
undefined DAT_ffffc6b6;
component_state_b_t comp_has_func_maybe;
word comp_unk_3;
undefined2 comp_unk_6;
byte DAT_ffffc6f6;
ushort DAT_ffffd2e2;
char DAT_ffffd2de;
undefined *vdp_sprites_ptr;
entity_state_a_t comp_state_a;
word comp_unk_4;
undefined2 related_to_comp_unk_4_ffffa32a_1;
fixed_t comp_pos_y;
word comp_unk_7;
undefined related_to_comp_unk_4_ffffa32a_2;
undefined *comp_anim_frame_p;
fixed_t comp_pos_x;
undefined2 DAT_ffffd2e0;
// FIXME Redefined.
/* char DAT_ffffc708; */
// FIXME Redefined.
/* char DAT_ffff96ba; */
word comp_anim_tick;
entity_state_1_a_t comp_state_1_a;
comp_anim_t comp_anim[64];
word anim_base;
anim_item_t *comp_anim_current_p[65];
word comp_anim_speed;
undefined1 DAT_ffff969c;
char DAT_ffff968e;
undefined1 DAT_ffff9694;
undefined1 DAT_ffff9690;
undefined DAT_ffff9691;
undefined DAT_ffff9692;
undefined comp_vdp_gfx_ptr;
undefined *comp_anim_command_f6_arg[64];
comp_collision_t comp_collision[65];
int16_vec2_t comp_collision_sensor[65];
long comp_anim_start_p[65];
byte comp_anim_base_offset;
entity_state_1_b_t comp_anim_c;
byte comp_anim_b;
undefined1 DAT_ffffab42;
undefined1 DAT_ffffab43;
fixed_w_vec2_t comp_vel[62];
ushort DAT_ffffc73a;
ushort DAT_ffffc746;
undefined1 component_state_b_pepelogoo;
byte BYTE_ffffc709;
byte BYTE_ffffc70a;
byte component_collision_flags;
byte component_unknown_5;
byte component_unknown_6;
word comp_unk_8;
word component_unknown_9;
byte component_unknown_12;
word WORD_ARRAY_00001266[33];
word WORD_ARRAY_00001334[64];
word compressed_data_indices[1];
undefined comp_unk_2;
undefined comp_unk_5;
func *comp_some_function;
undefined comp_unk_1;
undefined4 DAT_ffffcb26;
uint DAT_ffffcb26;
undefined2 DAT_ffffc782;
undefined2 DAT_ffffc784;
undefined DAT_ffffc786;
undefined DAT_ffffc788;
undefined1 DAT_ffff91c6;
undefined1 DAT_ffffc716;
undefined1 DAT_ffffc71a;
ushort DAT_ffff91ce;
undefined1 DAT_ffff9698;
// FIXME It's a function.
/* undefined FUN_000016a6; */
// FIXME It's a function.
/* undefined FUN_00001706; */
comp_state_t comp_state;
char DAT_ffffd2eb;
uint8_t pepelogoo_state_b;
undefined1 ecs_holding_a_rope;
short DAT_ffffcbf6;
// FIXME It's a function.
/* undefined FUN_00001800; */
word WORD_ARRAY_0000182c[3];
word WORD_ARRAY_00001858[3];
undefined LAB_0000187a;
undefined LAB_00001892;
undefined LAB_000018ac;
word WORD_ARRAY_000018cc[3];
word WORD_ARRAY_000018ea[3];
word AUDIO_PAUSE_COUNT;
sound_id_word_union_t UNION_sound_id_word_union_t_ffff97e6;
undefined1 DAT_ffffcc85;
undefined1 DAT_ffffcc86;
short DAT_ffffcf9a;
undefined DAT_0007d63c;
undefined DAT_0007d63d;
undefined DAT_0007d63e;
undefined DAT_0007d640;
undefined DAT_0007d642;
undefined DAT_ffffbc76;
undefined DAT_ffffbc78;
undefined DAT_ffffd126;
comp_func_offset_t comp_func_offset[65];
undefined comp_unk_10;
undefined DAT_0007d641;
comp_unkown_t comp_unkown_t_ARRAY_ffffb362[14];
undefined DAT_ffffd05c;
byte z80_program[6];
undefined1 z80_ram_something_1;
undefined1 z80_ram_something_2;
undefined1 z80_ram_something_3;
word WORD_ARRAY_00001b78[232];
word WORD_00001d72;
char DAT_ffffcc28;
word WORD_00024e22;
undefined comp_unk_4;
word room_boundary_x;
word camera_pos_x_int;
char DAT_ffffde29;
undefined1 DAT_ffffde0e;
undefined1 DAT_ffffde0f;
ushort DAT_ffffde12;
undefined1 DAT_ffffde10;
word total_hearts;
ushort DAT_ffffde14;
undefined DAT_000297d4;
word total_hearts_max;
undefined DAT_000297dc;
word blue_hearts;
undefined DAT_000297e4;
undefined DAT_000297ec;
undefined DAT_000297f4;
item_t OWNED_SWORD;
item_t OWNED_SHIELD;
item_t OWNED_ARMOR;
word red_hearts;
undefined comp_unk_11;
uint8_t uint8_t_ffffcc70;
byte DAT_ffffde0e;
byte DAT_ffffde0f;
byte comp_collected_item_id_maybe;
undefined comp_collision_related;
short DAT_ffffc746;
fixed_t component_pos_old_x[65];
fixed_t component_pos_old_y[65];
undefined DAT_ffffdb12;
short DAT_ffffdb16;
undefined DAT_ffffdb14;
short DAT_ffffdb18;
word angle_sin_table[65];
short DAT_ffffce0a;
short DAT_ffffce08;
short DAT_ffffce04;
undefined1 DAT_ffff96ce;
undefined DAT_ffff91ce;
char DAT_ffff9156;
short DAT_ffff9154;
word WORD_000029c2;
word WORD_000029ce;
undefined *PTR_main_unk_4_000029da;
undefined2 DAT_ffff9154;
undefined main_unk_11;
undefined main_unk_2;
undefined1 DAT_ffff9156;
undefined main_unk_3;
undefined main_unk_12;
undefined menu_title;
byte DAT_ffff96bc;
gamepad_t gamepad_held;
undefined main_unk_13;
gamepad_t gamepad_held_4;
byte DAT_ffff96ce;
undefined1 DAT_ffff96bc;
undefined main_unk_14;
undefined main_unk_15;
char DAT_ffff980c;
undefined1 DAT_ffffcc93;
undefined DAT_ffffc6fc;
undefined DAT_ffffc6fe;
undefined2 DAT_ffff91a0;
word vdp_hblank_effect_asha_p;
undefined2 vdp_hblank_effect_pepelogoo_p;
undefined2 vdp_gfx_ptr_6;
undefined DAT_ffff9a0c;
undefined DAT_ffff9a0e;
undefined2 DAT_ffffa332;
undefined2 DAT_ffff9f24;
undefined2 DAT_ffffa12a;
undefined2 DAT_ffffa22e;
undefined1 DAT_ffffa63e;
undefined1 DAT_ffffa63f;
undefined2 DAT_ffffa336;
undefined2 DAT_ffff9f28;
undefined2 DAT_ffffa12e;
undefined2 DAT_ffffa232;
undefined1 DAT_ffffa642;
undefined1 DAT_ffffa643;
undefined2 DAT_ffff91ba;
undefined2 DAT_ffff91bc;
undefined2 DAT_ffff91be;
undefined2 DAT_ffff91c0;
undefined2 DAT_ffff91c2;
undefined2 DAT_ffff91c4;
undefined2 DAT_ffff91a2;
undefined2 DAT_ffff91a4;
undefined2 DAT_ffff91a6;
undefined2 DAT_ffff91a8;
undefined2 DAT_ffff91aa;
undefined2 DAT_ffff91ac;
undefined2 DAT_ffff91ae;
undefined2 DAT_ffff91b0;
undefined2 DAT_ffff91b2;
undefined2 DAT_ffff91b4;
undefined2 DAT_ffff91b6;
undefined2 DAT_ffff91b8;
undefined2 DAT_ffffa32e;
undefined1 DAT_ffffa63a;
undefined1 DAT_ffffa63b;
undefined2 DAT_ffff9f2c;
undefined2 DAT_ffffa33a;
undefined2 DAT_ffffa132;
undefined2 DAT_ffffa236;
undefined1 DAT_ffffa646;
undefined1 DAT_ffffa647;
byte DAT_ffff9f2b;
undefined1 DAT_ffffab52;
undefined1 DAT_ffffab53;
undefined2 DAT_ffff9f30;
undefined2 DAT_ffffa33e;
undefined2 DAT_ffffa136;
undefined2 DAT_ffffa23a;
undefined1 DAT_ffffa64a;
undefined1 DAT_ffffa64b;
byte DAT_ffff9f2f;
undefined1 DAT_ffffab56;
undefined1 DAT_ffffab57;
undefined2 component_unknown_3_pepelogoo;
fixed_t component_pos_y_pepelogoo;
fixed_t component_pos_x_pepelogoo;
undefined DAT_ffff9812;
vdp_color_t vdp_color_t_ARRAY_0000301e[31];
vdp_palette_t vdp_palettes[4];
undefined2 DAT_ffff9164;
undefined2 DAT_ffff9166;
short DAT_ffff9168;
short DAT_ffff9164;
word WORD_ARRAY_000030ee[64];
undefined1 DAT_ffff9812;
undefined1 DAT_ffff9813;
undefined1 DAT_ffff9814;
undefined1 DAT_ffff9815;
undefined DAT_ffff9a82;
undefined DAT_ffff9a84;
undefined DAT_ffff9a86;
undefined DAT_ffff9a88;
short DAT_ffff91a0;
int DAT_ffff917e;
int DAT_ffff918e;
int DAT_ffff9182;
int DAT_ffff9192;
int DAT_ffff9186;
int DAT_ffff9196;
int DAT_ffff918a;
int DAT_ffff919a;
short DAT_ffff919e;
word WORD_000033ca;
word WORD_000033cc;
word WORD_000033ce;
word WORD_000033d0;
word WORD_000033d2;
word WORD_000033d4;
word WORD_000033d6;
word WORD_000033d8;
word WORD_ARRAY_00003416[17];
word WORD_ARRAY_00003438[18];
word WORD_000034f0;
word WORD_000034f2;
word WORD_000034f4;
word WORD_000034f6;
word WORD_000034f8;
word WORD_000034fa;
word WORD_000034fc;
word WORD_ARRAY_000034fe[21];
word WORD_ARRAY_00003528[11];
word WORD_ARRAY_0000353e[14];
undefined2 DAT_ffffbd84;
undefined2 DAT_ffffbd82;
char DAT_ffffa644;
uint DAT_ffff916a;
ushort DAT_ffff919e;
char DAT_ffffb97b;
int16_t DAT_ffff91a2;
int16_t DAT_ffff91ae;
int DAT_ffff916a;
int DAT_ffff916e;
int DAT_ffff9172;
int DAT_ffff9176;
undefined4 DAT_ffff916a;
undefined4 DAT_ffff917a;
char DAT_ffff91c6;
vdp_reg_t vdp_init_table;
short DAT_ffff91ca;
char DAT_ffff968d;
char DAT_ffff968b;
byte DAT_ffff915f;
byte DAT_ffff915e;
byte DAT_ffff915d;
union2_t DAT_ffff9630;
func *PTR_ffff96b6;
undefined1 DAT_ffff968e;
char DAT_ffffc719;
char DAT_ffffc718;
char DAT_ffffc71d;
char DAT_ffffc71c;
byte BYTE_ARRAY_00000000[256];
word IO_CT1_DATA + 1;
word IO_CT2_DATA + 1;
word IO_CT1_CTRL + 1;
word IO_CT2_CTRL + 1;
undefined DAT_ffff962e;
char DAT_ffff9629;
undefined DAT_ffff962c;
undefined1 DAT_ffff9628;
undefined DAT_ffff962a;
undefined1 DAT_ffff9629;
byte DAT_ffff9628;
undefined DAT_ffffe252;
undefined DAT_ffffe392;
byte BYTE_ARRAY_00003f08[20];
byte BYTE_ARRAY_0000402c[1222];
byte BYTE_ARRAY_000044f2[850];
undefined1 DAT_ffff9f23;
undefined1 DAT_ffff9f27;
undefined1 DAT_ffff9f2b;
byte BYTE_ARRAY_00004024[8];
undefined *PTR_ffff96c4;
undefined1 DAT_ffff96c1;
char DAT_ffff96bd;
undefined DAT_ffff96bc;
undefined DAT_ffff9813;
byte DAT_ffff96be;
undefined1 DAT_ffff96c3;
undefined DAT_ffff9814;
byte BYTE_ARRAY_000048d4[10];
sound_id_t menu_sound_test_sound_id;
byte DAT_ffffcbb0;
undefined1 DAT_ffff96bd;
undefined1 DAT_ffff96be;
undefined1 DAT_ffff96bf;
undefined1 UNK_ffff9f33;
undefined1 UNK_ffff9f37;
undefined2 UNK_ffffa13a;
undefined2 UNK_ffffa13e;
undefined2 UNK_ffffa23e;
undefined2 UNK_ffffa242;
undefined2 UNK_ffffa342;
undefined2 UNK_ffffa346;
undefined1 UNK_ffffa64e;
undefined1 UNK_ffffa64f;
undefined1 UNK_ffffa652;
undefined1 UNK_ffffa653;
char DAT_ffff96bf;
short UNK_ffffa242;
byte BYTE_ARRAY_0000588e[5];
byte BYTE_ARRAY_00005893[647];
word JMP_00005fea;
undefined4 DAT_ffff96ca;
gamepad_t DAT_ffff96c8;
char DAT_ffff96c9;
word WORD_00005fda;
char *DAT_ffff96ca;
undefined1 DAT_ffff97e5;
undefined1 DAT_ffff96c0;
undefined2 DAT_ffff97ea;
undefined2 DAT_ffff97ec;
byte DAT_ffffcc93;
undefined1 DAT_ffff97ee;
undefined1 DAT_ffffcc73;
undefined1 DAT_ffff97e8;
byte DAT_ffffcc92;
undefined1 DAT_ffff97e9;
undefined2 DAT_ffffd2f0;
undefined2 DAT_ffffd2ee;
char DAT_ffffcc85;
undefined1 DAT_ffffd180;
undefined1 DAT_ffffd181;
undefined1 DAT_ffffd17e;
undefined1 DAT_ffffd17f;
undefined1 DAT_ffffcbf5;
char DAT_ffff9807;
char DAT_ffff97e4;
char DAT_ffff9808;
char DAT_ffffcc8e;
undefined2 SAVE_POINT;
entity_id_w_t entity_id_w_t_ffffcc90;
int16_t DAT_ffff97fa;
undefined OWNED_HEALING_MEDICINE_COUNT;
int16_t DAT_ffff97fc;
word WORD_00006270;
word WORD_00007762;
undefined related_to_entering_a_room_7;
word jmp_00006256;
word JMP_00006cb2;
int8_t game_locked;
short DAT_ffff97ea;
undefined DAT_0007c8fe;
short DAT_ffff97ec;
int16_t DAT_ffff97f4;
int16_t DAT_ffff97f6;
undefined2 DAT_ffff97f0;
undefined2 DAT_ffffcbb2;
undefined2 DAT_ffff97f2;
undefined2 DAT_ffffcbb4;
undefined1 script_ctx_bf_0e_arg;
byte BYTE_ARRAY_0000667a[12];
byte BYTE_ARRAY_00006686[12];
byte BYTE_ARRAY_00006692[12];
byte BYTE_ARRAY_000066aa[638];
component_mixed_1_t component_mixed_1_t_00006944;
component_mixed_1_t component_mixed_1_t_0000697e;
component_mixed_1_t component_mixed_1_t_00006988;
component_mixed_1_t component_mixed_1_t_00006992;
undefined2 DAT_ffffa526;
undefined2 DAT_ffffa528;
ushort DAT_ffffa21a;
ushort DAT_ffffa31e;
word WORD_00006a22;
word WORD_ARRAY_00006a24[5];
byte related_to_entering_and_exiting_menu_2;
word WORD_ARRAY_00006a74[5];
component_mixed_1_t component_mixed_1_t_00006a94;
word WORD_ARRAY_00006ada[5];
word WORD_00006b3a;
word WORD_ARRAY_00006b3c[5];
byte DAT_ffffa735;
short DAT_ffffa630;
byte DAT_ffffa017;
undefined1 DAT_ffffac3e;
undefined1 DAT_ffffac3f;
component_mixed_1_t component_mixed_1_t_00006b8e;
undefined2 DAT_ffffa52a;
undefined2 DAT_ffffa52c;
short DAT_ffffa322;
byte related_to_entering_and_exiting_menu_1;
undefined2 menu_cursor_animation_tick_2;
short DAT_ffffcc56;
byte DAT_ffffcd42;
byte DAT_ffffcd43;
undefined1 DAT_ffff9807;
short DAT_ffffcbb2;
undefined1 DAT_ffff97e4;
undefined2 DAT_ffff97fa;
undefined2 DAT_ffff97fc;
undefined2 DAT_ffffc746;
undefined1 DAT_ffffcc92;
undefined1 DAT_ffff9808;
undefined1 DAT_ffffcc8e;
word WORD_00006e52;
word WORD_00006e78;
int16_vec2_t int16_vec2_t_ARRAY_0000705a[8];
undefined FUN_0000709c;
void *DAT_ffffcd3e;
undefined2 DAT_ffffcd32;
undefined2 DAT_ffffcd34;
byte DAT_ffffcd3b;
byte DAT_ffffcd3c;
undefined2 DAT_ffffcc9c;
char DAT_ffffcd3a;
char DAT_ffffcd3d;
undefined4 set_to_13a62_when_facing_a_door;
undefined DAT_ffffcc9e;
value_dst_t value_dst_t_ARRAY_000138e0[8];
undefined DAT_0007c8f8;
undefined DAT_0007c8fc;
undefined DAT_ffffcf86;
undefined DAT_ffff97f8;
undefined2 DAT_ffffd916;
undefined script_ctx_bf_0c_arg_item_name_index;
undefined comp_unk_9;
vdp_palette_t palettes[4];
undefined DAT_ffffb976;
word WORD_00007df8;
undefined FUN_00009d14;
undefined DAT_ffff9804;
word WORD_ffff97fe;
sound_id_word_union_t UNION_sound_id_word_union_t_ffff9800;
undefined DAT_ffff9802;
undefined DAT_ffffda72;
byte BYTE_ARRAY_00007f22[16];
undefined DAT_ffffba76;
int16_vec2_t vel_7f32[8];
undefined FUN_00009d20;
int16_vec2_t int16_vec2_t_ARRAY_0000801e[7];
undefined DAT_ffffcc6e;
undefined DAT_ffffde38;
byte DAT_ffff9f1f;
undefined1 related_to_entering_a_room_2;
byte DAT_ffffa63d;
short UNK_ffffa538;
undefined DAT_ffffcf80;
byte DAT_ffffcf7e;
undefined DAT_ffffcf82;
undefined1 DAT_ffffde4b;
undefined DAT_ffffde4c;
undefined1 DAT_ffffde46;
undefined1 DAT_ffffcf7e;
word WORD_00008d22;
entity_id_w_t entity_id_w_t_ffffcf94;
undefined1 DAT_ffffb97b;
undefined LAB_000098a2;
int16_vec2_t pos_table_8fe6[6];
undefined FUN_00008ffe;
word WORD_ARRAY_000090e2[3];
undefined UNION_sound_id_word_union_t_ffff9800;
undefined DAT_ffffd17c;
undefined DAT_ffffbd78;
undefined DAT_ffffbd76;
uint16_t component_state_a_pepelogoo;
short DAT_ffffcbb4;
undefined1 DAT_ffffcd38;
undefined1 DAT_ffffcd39;
undefined DAT_ffffcd2e;
word WORD_ARRAY_00009a10[2];
undefined FUN_00009a14;
undefined FUN_000136e8;
char DAT_ffffcbf4;
ushort DAT_ffffcbb2;
ushort DAT_ffffcbb4;
undefined DAT_0007d254;
undefined1 DAT_ffff980c;
palette_effect_t palette_effect_t_0000a532;
palette_effect_t palette_effect_t_0000a5b6;
undefined DAT_ffff980e;
byte BYTE_ARRAY_00009f48[12];
word compressed_data_indices_size;
undefined4 vdp_gfx_ptr_1;
undefined fed_to_vdp_data_1;
undefined fed_to_vdp_data_2;
undefined1 DAT_ffff9f1f;
char DAT_ffffa63b;
undefined1 UNK_ffffb97a;
byte UNK_ffffb97a;
undefined2 DAT_ffff9810;
palette_fade_t palette_fade[4];
palette_effect_state_t palette_effect[4];
byte palette_fade_color_channel_0;
signed_rgb_t palette_fade_color[4];
palette_iter_t palette_iter[4];
vdp_color_t DAT_ffff9810;
undefined DAT_0007c034;
undefined DAT_0007c036;
vdp_color_t palettes_2[64];
palette_effect_t *palette_effect_next[4];
palette_effect_t *palette_effect_start[4];
word DAT_ffff9810;
undefined1 DAT_ffff9f0a;
undefined4 DAT_ffff9f0c;
undefined DAT_ffff9f10;
char DAT_ffff9f0a;
byte DAT_ffff9f0b;
byte *DAT_ffff9f0c;
word WORD_0000ad16;
undefined1 DAT_ffff9f18;
undefined DAT_ffff9f14;
char DAT_ffff9f18;
undefined something_command_f8;
undefined1 DAT_ffffc717;
undefined1 DAT_ffffc718;
undefined1 DAT_ffffc719;
undefined4 DAT_ffffc722;
undefined1 DAT_ffffc8f0;
short DAT_ffffc782;
short DAT_ffffc73a;
short DAT_ffffc784;
byte DAT_ffffc71a;
short DAT_ffffc74a;
undefined2 DAT_ffffc73a;
undefined DAT_ffffc752;
undefined DAT_ffffc754;
undefined DAT_ffffc75e;
undefined DAT_ffffc760;
undefined DAT_ffffc778;
undefined2 UNK_ffffc756;
short UNK_ffffc758;
undefined2 UNK_ffffc762;
short UNK_ffffc764;
undefined2 UNK_ffffc77c;
undefined DAT_ffffc76a;
undefined DAT_ffffc76c;
undefined DAT_ffff4000;
undefined DAT_ffff4002;
short DAT_ffffc8ee;
byte BYTE_ffffc8e5;
word *PTR_ffffc8e6;
undefined *DAT_ffffc8ea;
undefined DAT_ffffc792;
undefined DAT_ffffc794;
undefined DAT_ffffc73e;
pointer PTR_WORD_ARRAY_0000b57a;
word WORD_ARRAY_0000b68a[12];
short UNK_ffffc756;
ushort UNK_ffffc758;
ushort UNK_ffffc764;
ushort UNK_ffffc77c;
char UNK_ffffc789;
undefined entity_something;
undefined DAT_ffff4004;
undefined DAT_ffffc761;
undefined2 DAT_ffffc81e;
undefined DAT_ffffc78e;
undefined DAT_ffffc790;
undefined DAT_ffffc8f1;
undefined DAT_ffffc73a;
undefined DAT_ffffc8f2;
undefined DAT_ffffc974;
undefined DAT_ffffca7c;
undefined1 DAT_ffffc8e4;
word *DAT_ffffc8ea;
word WORD_0000b57e;
word WORD_ARRAY_0000b592[17];
byte DAT_ffffc8e4;
short *DAT_ffffc8ea;
uint DAT_ffffc8ea;
ushort DAT_ffffc8de;
ushort DAT_ffffc8dc;
short DAT_ffffc8e0;
short DAT_ffffc8e2;
char DAT_ffffcbf5;
undefined DAT_ffff4006;
vdp_reg_t vdp_reg_t_0000b9cc;
undefined WORD_ffffcb00;
undefined4 DAT_ffffcb04;
undefined1 DAT_ffffcb08;
undefined2 DAT_ffffcb0a;
ushort DAT_ffffcb0a;
uint DAT_ffffcb04;
long smooth_curve_sine_like[49];
undefined vdp_related_to_display_asha_1;
undefined vdp_related_to_display_pepelogoo_1;
undefined DAT_ffffcb14;
undefined DAT_ffffcb1a;
undefined1 DAT_ffffcb11;
undefined component_unknown_1;
undefined component_hblank_related;
undefined component_unknown_3;
word vdp_prepare_some_hblank_effect_data[21];
undefined2 DAT_ffffcc56;
char DAT_ffff96c1;
long DAT_ffffcb30;
undefined2 DAT_ffffcb34;
undefined1 DAT_ffffcb36;
undefined1 DAT_ffffcb37;
undefined DAT_ffffcb38;
long LONG_0000bde2;
undefined1 DAT_ffffcb3c;
undefined1 DAT_ffffcb3d;
undefined1 DAT_ffffcb3e;
undefined4 DAT_ffffcb30;
word DAT_ffffcb34;
word WORD_0000be3e;
byte DAT_ffffde27;
item_t DAT_ffffde29;
short DAT_ffffcb34;
byte DAT_ffffcb36;
byte DAT_ffffcb38;
byte DAT_ffffcb39;
byte DAT_ffffcb3a;
byte DAT_ffffcb3b;
item_t DAT_ffffcb3c;
byte DAT_ffffcb3d;
undefined UNK_000f4240;
undefined1 DAT_ffffccca;
byte OWNED_EQUIPMENT_FLAGS[4];
item_t OWNED_INVENTORY[10];
long gold;
word life_drops;
undefined DAT_ffffcb30;
byte DAT_ffffcb3c;
undefined1 DAT_ffffff00;
byte *PTR_SRAM_GAME_1_0000c408;
uint DAT_ffffcb30;
undefined1 DAT_ffffcbaa;
char DAT_ffff97ee;
byte DAT_ffffcc29;
palette_effect_t *DAT_ffffcc2a;
palette_effect_t *DAT_ffffcc2e;
palette_effect_t *DAT_ffffcc32;
palette_effect_t *DAT_ffffcc36;
int DAT_ffffcbce;
int DAT_ffffcbde;
int DAT_ffffcbd2;
int DAT_ffffcbe2;
int DAT_ffffcbd6;
int DAT_ffffcbe6;
int DAT_ffffcbda;
int DAT_ffffcbea;
undefined *DAT_ffffcbce;
undefined4 DAT_ffffcbde;
undefined **DAT_ffffcbd2;
undefined4 DAT_ffffcbe2;
undefined4 DAT_ffffcbd6;
undefined4 DAT_ffffcbe6;
undefined4 DAT_ffffcbda;
undefined4 DAT_ffffcbea;
undefined DAT_0007d2da;
pointer PTR_DAT_0007d5e2;
undefined4 DAT_ffffcbce;
undefined4 DAT_ffffcbd2;
word jmp_text_command_ff_to_e1;
undefined1 DAT_ffffcc28;
undefined1 DAT_ffffcf8a;
undefined2 DAT_ffffcbf6;
undefined DAT_ffffde34;
undefined4 DAT_ffffcca2;
undefined1 DAT_ffffcbcc;
undefined1 DAT_ffffcc29;
undefined1 DAT_ffffcbf4;
short DAT_ffffcbb6;
byte *DAT_ffffcbc0;
word WORD_ARRAY_0000c840[21];
word WORD_0000c86a;
undefined DAT_0007d292;
byte BYTE_ARRAY_0000c8bc[18];
undefined DAT_ffffcbc8;
int DAT_ffffcbc4;
word DAT_ffffd18c;
undefined DAT_ffffd184;
word DAT_ffffd190;
undefined DAT_ffffd188;
undefined2 DAT_ffffd18a;
undefined DAT_ffffd182;
undefined2 DAT_ffffd18e;
undefined DAT_ffffd186;
byte DAT_ffffcbcc;
undefined4 DAT_ffffcc2a;
undefined DAT_ffffd11c;
ushort DAT_ffffc8ee;
undefined1 DAT_ffffde42;
undefined1 DAT_ffffde72;
undefined DAT_ffffdea2;
undefined DAT_ffffde74;
undefined DAT_ffffde82;
undefined DAT_ffffde92;
short DAT_ffffcc50;
short DAT_ffffcc52;
short DAT_ffffcc4a;
short DAT_ffffcc4c;
ushort DAT_ffffcc3a;
ushort DAT_ffffcc3c;
ushort DAT_ffffcc44;
char DAT_ffffcc4e;
ushort DAT_ffffcc3e;
ushort DAT_ffffcc40;
ushort DAT_ffffcc42;
short DAT_ffffcc3e;
short DAT_ffffcc40;
short DAT_ffffcc3a;
short DAT_ffffcc3c;
ushort DAT_ffffcc50;
ushort DAT_ffffcc52;
byte DAT_ffffc717;
undefined1 DAT_ffffcc4e;
short DAT_ffffcd32;
byte DAT_ffffcd37;
short DAT_ffffcd34;
byte DAT_ffffcd36;
ushort DAT_ffffcd34;
int DAT_ffffc722;
undefined DAT_ffffcc54;
byte DAT_ffffcd3a;
undefined FUN_0000d224;
byte DAT_ffffcd3d;
undefined2 DAT_ffffcc4c;
undefined2 DAT_ffffcc4a;
int DAT_ffffcbf0;
ushort UNK_ffff4010;
ushort UNK_ffff4012;
ushort UNK_ffff4014;
ushort UNK_ffff4016;
ushort UNK_ffff51b8;
ushort UNK_ffff51ba;
ushort UNK_ffff51bc;
ushort UNK_ffff51be;
undefined1 DAT_ffffcbf8;
undefined DAT_ffffcbfa;
undefined DAT_0007d1dc;
undefined UNK_0007d1dd;
undefined UNK_0007d1de;
undefined UNK_0007d1df;
word WORD_0000da02;
word WORD_0000da8c;
undefined DAT_ffffb66e;
undefined DAT_ffffb876;
undefined DAT_ffffb66f;
word WORD_0000db96;
word WORD_0000dc62;
word WORD_0000dd48;
word WORD_0000de5e;
word WORD_0000df44;
word WORD_0000e034;
word WORD_0000e0ea;
word WORD_0000e1a2;
word WORD_0000e212;
word WORD_0000e2fc;
word WORD_0000e3e6;
word WORD_0000e4da;
undefined DAT_ffffb978;
undefined DAT_ffffb979;
undefined DAT_ffffd21c;
byte BYTE_0000e734;
byte BYTE_0000e72c;
undefined1 DAT_ffffd19a;
undefined1 DAT_ffffd19b;
undefined DAT_ffffd1da;
undefined DAT_ffffd1dc;
undefined DAT_ffffd21a;
undefined DAT_ffffd25a;
undefined DAT_ffffd25c;
undefined1 DAT_ffffd29c;
undefined DAT_ffffd29d;
undefined2 DAT_ffffd29a;
word WORD_0000e8fa;
word WORD_0000eace;
undefined2 DAT_ffffce04;
word WORD_0000ec86;
word WORD_0000ed86;
word WORD_0000ee84;
word WORD_0000effc;
word WORD_0000f1ec;
undefined1 DAT_ffffcc63;
undefined1 DAT_ffffcc62;
undefined DAT_ffffcc5e;
word WORD_0000f476;
char DAT_ffffcc62;
undefined DAT_ffffcc5c;
undefined2 DAT_ffffd16c;
word WORD_0000f6dc;
char DAT_ffffcc63;
word WORD_0000f82c;
word WORD_0000f92e;
word WORD_0000f9f0;
word WORD_0000fb80;
word WORD_0000fcd0;
word WORD_0000fdb0;
undefined FUN_0000fed8;
undefined1 DAT_ffffcc8c;
undefined1 DAT_ffffcc8d;
undefined1 DAT_ffffcc64;
undefined2 DAT_ffffcc8a;
undefined DAT_ffffcc74;
char DAT_ffffcc73;
char DAT_ffffcc93;
long LONG_0001005c;
word WORD_ARRAY_00010064[19];
char DAT_ffffcc86;
word WORD_00010258;
undefined DAT_ffffc376;
short DAT_ffffcc8a;
char DAT_ffffcc8c;
undefined DAT_ffffcc76;
undefined1 DAT_ffffcc65;
undefined DAT_ffffcc68;
undefined1 DAT_ffffcc6a;
int8_t ecs_held_rope_side;
char DAT_ffffcc6a;
undefined DAT_ffffcc6c;
undefined1 DAT_ffffcc6b;
char DAT_ffffcc6b;
word WORD_ffffd178;
word player_vel_unknown_y_1;
ushort DAT_ffffd176;
undefined DAT_ffff6000;
byte DAT_ffffde10;
ushort DAT_ffffd2f0;
undefined2 DAT_ffffcc88;
short DAT_ffffd16c;
undefined1 DAT_ffffcc71;
char DAT_ffffcc71;
gamepad_t DAT_ffffcc8d;
undefined *DAT_ffffcc94;
char DAT_ffffcc82;
short DAT_ffffcf96;
char DAT_ffff97e9;
char DAT_ffffcc64;
undefined DAT_ffffceff;
undefined DAT_ffffcf00;
undefined DAT_ffffcf1e;
short DAT_ffffcc78;
undefined1 DAT_ffffcefe;
undefined2 DAT_ffffcc78;
undefined DAT_ffffcf20;
undefined DAT_ffffcc7e;
undefined DAT_ffffcc80;
undefined DAT_ffffcc7a;
word WORD_000128a0;
ushort DAT_ffffcbf6;
undefined1 DAT_ffffcc84;
undefined DAT_ffffcf3e;
undefined DAT_ffffcf40;
char DAT_ffffcc84;
short DAT_ffffcc88;
byte SCRIPT_STATE;
undefined4 DAT_ffffccba;
undefined2 DAT_ffffcf96;
undefined1 DAT_ffffcd44;
undefined4 DAT_ffffcc94;
word jmp_00013002;
char DAT_ffffcc92;
byte BYTE_0001303a;
undefined2 DAT_ffff97f4;
undefined2 DAT_ffff97f6;
undefined DAT_ffffcbb2;
undefined DAT_ffffcbb4;
undefined1 DAT_ffffce0c;
undefined DAT_ffffce5c;
undefined FUN_0001354a;
undefined FUN_00013608;
undefined1 DAT_ffffcd3d;
undefined1 DAT_ffffcd3b;
undefined1 DAT_ffffcd3c;
undefined1 DAT_ffffcd36;
undefined1 DAT_ffffcd37;
undefined *DAT_ffffcd3e;
undefined DAT_0007d168;
undefined UNK_0007d169;
undefined UNK_0007d16a;
undefined UNK_0007d16b;
undefined UNK_0007d16c;
undefined DAT_ffffcd2a;
undefined FUN_000137c2;
byte DAT_ffffcd38;
byte DAT_ffffcd39;
undefined DAT_ffffce04;
undefined DAT_ffffce06;
undefined DAT_ffffce08;
undefined DAT_ffffce0a;
undefined1 DAT_ffffcd42;
undefined1 DAT_ffffcd43;
undefined DAT_ffffcd42;
undefined FUN_00013aca;
undefined2 DAT_ffffc8de;
undefined2 DAT_ffffc8dc;
undefined2 DAT_ffffc8e2;
undefined2 DAT_ffffc8e0;
undefined2 UNK_ffffcca6;
ushort DAT_ffffc8e2;
ushort DAT_ffffc8e0;
short DAT_ffffd18a;
short DAT_ffffd18e;
short DAT_ffffd18c;
short DAT_ffffd190;
undefined FUN_00013cec;
word WORD_00013d54;
undefined DAT_ffffcd3b;
undefined4 DAT_ffffcd3e;
undefined1 DAT_ffffcd3a;
undefined UNK_0007c8f9;
undefined UNK_0007c8fa;
undefined UNK_0007c8fb;
script_t DAT_ffffcca2;
undefined2 DAT_ffffd18c;
undefined2 DAT_ffffd190;
int DAT_ffffcca2;
word WORD_00013f2c;
undefined1 DAT_ffffcf84;
short *DAT_ffffcca2;
undefined1 DAT_ffffe232;
undefined FUN_00014784;
undefined FUN_00014288;
word WORD_000143ec;
word WORD_000143f0;
undefined FUN_000144a0;
undefined FUN_00014550;
word jmp_000144b4;
undefined FUN_0001452a;
undefined2 DAT_ffffce36;
undefined4 DAT_ffffce84;
undefined FUN_000133cc;
undefined UNK_0007c8fd;
char DAT_ffffcf8a;
short DAT_ffffcf8c;
script_state_bit_t DAT_ffffcf8e;
word WORD_00014762;
word WORD_000147a4;
undefined FUN_000148a8;
undefined FUN_0001492e;
word jmp_0001493e;
undefined DAT_ffffcf88;
undefined FUN_00014a58;
int16_vec2_t int16_vec2_t_ARRAY_00014a38[8];
undefined1 DAT_ffffceff;
word WORD_ARRAY_00014c38[4];
word WORD_00014c9e;
undefined1 DAT_ffffcf7f;
undefined FUN_00014d82;
undefined FUN_00014e80;
word WORD_00014e90;
undefined FUN_00014fa4;
word WORD_00014fb4;
undefined DAT_ffffde73;
undefined DAT_ffffde94;
undefined FUN_0001511e;
undefined DAT_000151a4;
undefined2 DAT_ffffcf8c;
undefined2 DAT_ffffcf8e;
undefined DAT_ffffcf90;
undefined FUN_00015466;
undefined FUN_00015568;
undefined2 DAT_ffffcf9a;
undefined DAT_ffffd166;
undefined1 DAT_ffffd16a;
undefined1 DAT_ffffd16b;
undefined1 DAT_ffffcf9c;
undefined1 DAT_ffffcf9d;
undefined FUN_0001580c;
undefined1 DAT_ffffcf9e;
undefined1 DAT_ffffcf9f;
char DAT_ffffd16a;
char DAT_ffffd16b;
undefined DAT_ffffcfdc;
undefined DAT_ffffcfde;
undefined DAT_ffffd01c;
undefined DAT_ffffd05d;
undefined DAT_ffffd05e;
undefined DAT_ffffd0dc;
word WORD_0001598e;
word WORD_00015b06;
undefined DAT_ffffd05f;
undefined DAT_ffffd09c;
undefined DAT_ffffd168;
undefined FUN_00015c68;
undefined DAT_ffffbe78;
undefined FUN_00015db6;
undefined2 entity_iter;
long entity_func_start_maybe;
undefined DAT_ffffd122;
undefined DAT_ffffd120;
word WORD_00015ff6;
word WORD_00015ffe;
undefined FUN_00016326;
undefined DAT_ffffd916;
entity_state_1_b_t DAT_ffffd124;
word WORD_00016390;
byte DAT_ffffd17e;
byte DAT_ffffd17f;
word WORD_000163ba;
word WORD_000163c0;
word player_vel_unknown_y_2;
word player_vel_unknown_x_1;
word player_vel_unknown_x_2;
undefined2 DAT_ffffd176;
undefined DAT_ffffd196;
undefined DAT_ffffd194;
undefined2 DAT_ffffd192;
ushort DAT_ffffd2e4;
undefined DAT_ffffc746;
undefined DAT_ffffc74a;
short DAT_ffffd2e4;
word WORD_00016736;
byte DAT_ffffd180;
byte DAT_ffffd181;
undefined DAT_ffffd17a;
short DAT_ffffd192;
word WORD_000168b0;
word WORD_00016924;
word DAT_ffffc784;
word WORD_00016a7c;
word DAT_ffffc782;
word WORD_00016aba;
word WORD_00016b04;
word WORD_ARRAY_00016b5c[44];
undefined DAT_ffffd198;
int16_vec2_t component_vel_old[65];
word WORD_00016e00;
word WORD_00016efc;
int16_vec2_t player_collision_offset[65];
word WORD_00017210;
word WORD_00017104;
short DAT_ffffd2da;
short DAT_ffffd2dc;
undefined DAT_ffffc278;
byte DAT_ffffb570;
word jmp_00018028;
word jmp_00018096;
undefined UNK_000180ea;
undefined UNK_00018140;
undefined UNK_000181c8;
undefined UNK_0001824c;
undefined UNK_000182d0;
undefined UNK_00018354;
word WORD_000183e6;
undefined2 DAT_ffffd2e4;
undefined1 DAT_ffffd2de;
short DAT_ffffd2e2;
short DAT_ffffd2e0;
ushort DAT_ffffd2e6;
undefined2 DAT_ffffd2e8;
undefined1 DAT_ffffd2ea;
undefined1 DAT_ffffd2eb;
undefined1 DAT_ffffd2ed;
ushort DAT_ffffd2ee;
short DAT_ffffd2e8;
word WORD_000185ba;
char DAT_ffffd2ed;
undefined DAT_000186ee;
byte BYTE_ARRAY_00018b82[14];
byte BYTE_ARRAY_00018b90[20];
byte BYTE_ARRAY_00018ba4[22];
byte BYTE_ARRAY_00018bba[14];
short DAT_ffffd2ee;
short DAT_ffffde12;
int8_vec2_t int8_vec2_t_ARRAY_00018c30[5];
int8_vec2_t int8_vec2_t_ARRAY_00018c3a[5];
int8_vec2_t int8_vec2_t_ARRAY_00018c44[4];
int8_vec2_t int8_vec2_t_ARRAY_00018c4c[5];
word compression_related_4[16];
word compression_related_2[16];
word compression_related_1[16];
pointer16 compression_2_buffer[1];
byte compression_0_buffer[32];
word compression_related_8[16];
undefined DAT_ffffd912;
undefined DAT_ffffd914;
undefined1 DAT_ffff9a8a;
undefined2 DAT_ffffd928;
script_ctx_t SCRIPT_CTX_CURRENT;
undefined4 DAT_ffffd92a;
word WORD_ARRAY_00019262[4];
undefined DAT_ffffd9f2;
word WORD_ARRAY_0001928c[4];
ushort UNK_ffffd9fe;
undefined2 UNK_ffffda00;
short UNK_ffffda02;
short UNK_ffffda04;
word WORD_ARRAY_000192ac[4];
short DAT_ffffd916;
word WORD_ARRAY_000192d0[4];
word WORD_ARRAY_000192fe[4];
word WORD_ARRAY_0001932c[4];
undefined FUN_00019360;
char DAT_ffffda70;
undefined1 DAT_ffffda6f;
undefined RELATED_TO_SAVE;
word WORD_ARRAY_00019408[4];
undefined2 script_ctx_bf_18_related;
undefined2 DAT_ffffd922;
char DAT_ffffda6f;
byte BYTE_000194e4;
word WORD_000196b0;
word WORD_000197fe;
word WORD_0001989c;
word text_command_p;
undefined SCRIPT_PROMPT_RESPONSE;
undefined2 SCRIPT_ID;
undefined DAT_ffffda2a;
word WORD_ffffda24;
char *SPELL_TO_INCANT;
undefined DAT_ffffda60;
undefined DAT_ffffda62;
undefined1 DAT_ffffda6d;
undefined1 DAT_ffffda6e;
char DAT_ffffda6d;
char DAT_ffffda6e;
undefined SCRIPT_SPHINX_CORRECT_ANSWER;
word script_ctx_bf_table;
undefined BYTE_ffffd918;
undefined SCRIPT_OUTLINE;
undefined script_ctx_bf_0d_arg;
undefined price_maybe;
undefined2 script_ctx_bf_18_arg_1;
undefined2 script_ctx_bf_18_arg_2;
undefined1 DAT_ffffda70;
char *MERCHANT;
tile_1bpp_row_t UNK_ffffd9a2;
tile_1bpp_row_t UNK_ffffd9b2;
word text_current_glyph_type;
word text_related_data;
tile_1bpp_row_t text_current_glyph_tiles[32];
long hud_gold;
byte hud_icon_gold_anim_tick;
hud_icon_gold_anim_unknown_1_t hud_icon_gold_anim_unknown_1_t_0001a442;
hud_icon_gold_anim_unknown_2_t hud_icon_gold_anim_unknown_2_t_0001a443;
hud_icon_gold_anim_unknown_3_t hud_icon_gold_anim_unknown_3_t_0001a444;
hud_icon_gold_anim_unknown_2_t hud_icon_gold_anim_unknown_2;
hud_icon_gold_anim_unknown_3_t hud_icon_gold_anim_unknown_3;
hud_icon_gold_anim_unknown_1_t hud_icon_gold_anim_unknown_1;
undefined DAT_0001a470;
undefined2 hud_icon_life_anim_unknown_1;
undefined hud_icon_life_anim_unknown_2;
undefined UNK_0001a578;
undefined UNK_0001a57d;
undefined1 hud_icon_life_anim_unknown_4;
undefined hud_icon_life_anim_unknown_7;
byte life_2;
hud_icon_life_drop_anim_unknown_1_t
    hud_icon_life_drop_anim_unknown_1_t_ARRAY_0001a5e8[10];
word hud_life_drops;
hud_icon_life_drop_anim_unknown_1_t hud_icon_life_drop_anim_unknown_1;
hud_icon_life_drop_anim_tick_t hud_icon_life_drop_anim_tick;
undefined1 *DAT_ffffa10e;
undefined2 DAT_0001a6b0;
undefined1 DAT_0001a6ca;
undefined1 DAT_ffffda86;
undefined1 DAT_ffffda87;
undefined1 DAT_ffffda85;
undefined1 *DAT_ffffa112;
undefined DAT_0001a9cc;
undefined1 DAT_ffffdaa9;
short DAT_ffffa216;
short DAT_ffffa31a;
angle_t angle_t_0001a9c6;
byte DAT_ffffde0d;
undefined DAT_ffffdb06;
word WORD_ffffdaf8;
word WORD_ffffdafc;
word WORD_ffffdb00;
undefined DAT_ffffdb04;
undefined UNK_0001abe6;
undefined UNK_0001abee;
word WORD_0001961e;
byte UNK_ffffd9f3;
undefined UNK_0001af6c;
word WORD_0001b03e;
undefined DAT_0001b044;
undefined DAT_0001b04a;
undefined DAT_0001b04b;
char DAT_ffff915f;
undefined2 DAT_ffffdaf0;
undefined2 DAT_ffffdaf2;
item_t DAT_ffffdadc;
item_t DAT_ffffdadd;
item_t DAT_ffffdade;
undefined1 DAT_ffffdadf;
undefined1 DAT_ffffdae0;
undefined DAT_0001b21c;
component_mixed_1_t component_mixed_1_t_0001b22e;
undefined1 DAT_ffffdae1;
undefined1 DAT_ffffdae6;
undefined DAT_0001b284;
undefined DAT_0001b2a0;
char DAT_ffffcf7e;
char DAT_ffffcf7f;
undefined DAT_0001b314;
item_t DAT_ffffcf7e;
undefined DAT_ffffdd50;
undefined DAT_ffffdd48;
undefined DAT_ffff9ae4;
undefined DAT_ffff9ae6;
undefined DAT_ffffa62c;
short DAT_ffffdd40;
short DAT_ffffdd4a;
byte DAT_ffffdd4f;
undefined1 DAT_ffffdd4e;
undefined2 DAT_ffffdd4c;
undefined DAT_ffffbe74;
short DAT_ffffa52a;
byte DAT_ffff9f23;
undefined DAT_000261c8;
component_mixed_1_t component_mixed_1_t_000261d8;
component_mixed_1_t component_mixed_1_t_000261e2;
component_mixed_1_t component_mixed_1_t_000261ec;
component_mixed_1_t component_mixed_1_t_000261f6;
undefined DAT_00026200;
undefined DAT_00026914;
component_mixed_1_t component_mixed_1_t_00026926;
ushort UNK_ffffa21e;
short DAT_ffffdaf2;
short DAT_ffffdaf0;
ushort DAT_ffffdaf0;
ushort DAT_ffffdaf2;
undefined1 DAT_ffffdadc;
undefined2 DAT_ffffdb0c;
ushort DAT_ffffdb0e;
gamepad_t DAT_ffffdb09;
char DAT_ffffdb0a;
char DAT_ffffdb0b;
gamepad_t DAT_ffffdb08;
undefined2 DAT_ffffd2e2;
undefined DAT_0001b878;
undefined UNK_0001b87e;
byte DAT_ffffdb08;
short DAT_ffffdb0c;
short DAT_ffffdb0e;
char DAT_ffffdb11;
char DAT_ffffdb10;
undefined DAT_0001ba16;
word WORD_0001ba72;
undefined1 DAT_ffffdb10;
undefined1 DAT_ffffdb11;
undefined2 DAT_ffffdb0e;
undefined *PTR_FUN_0001bb6c;
ushort DAT_ffffdb16;
ushort DAT_ffffce0a;
undefined DAT_0001c012;
undefined DAT_ffff9f16;
undefined DAT_ffffa42a;
undefined DAT_ffffb462;
undefined DAT_ffffb76e;
undefined UNK_0001c11c;
ushort DAT_ffffdb18;
byte BYTE_ARRAY_0001c2c0[10];
undefined UNK_0001c37a;
undefined DAT_ffffdb3e;
undefined UNK_0001fdd8;
undefined UNK_0001c590;
undefined DAT_ffffb77e;
undefined DAT_ffffb782;
undefined DAT_ffffb773;
undefined UNK_0001c6a6;
undefined UNK_0001c740;
ushort DAT_ffffce04;
ushort DAT_ffffce08;
undefined1 DAT_0001cd56;
undefined1 DAT_0001cd57;
undefined FUN_00021b08;
undefined UNK_0001d6ae;
short DAT_ffffce06;
undefined UNK_0001d9f2;
undefined UNK_0001dfe2;
undefined UNK_0001dff8;
undefined UNK_0001e59c;
undefined UNK_0001ea84;
undefined UNK_0001f04c;
undefined UNK_0001f072;
undefined1 DAT_0001f242;
undefined UNK_0001f64c;
undefined UNK_0001f882;
undefined UNK_0001fa2e;
undefined UNK_0001fd4c;
undefined2 DAT_ffffdb1e;
word WORD_0001fedc;
undefined1 DAT_ffffdb40;
undefined UNK_0001ff6c;
word WORD_ARRAY_000202d0[17];
undefined DAT_ffff9f27;
undefined1 DAT_ffffa644;
char DAT_ffffdb40;
undefined DAT_ffffb476;
undefined DAT_ffffb47a;
undefined DAT_ffffb784;
undefined DAT_ffffb788;
word WORD_00020094;
undefined DAT_ffffb989;
undefined DAT_ffffb991;
undefined DAT_ffffb999;
undefined DAT_ffffb9a1;
undefined DAT_ffffb98d;
undefined DAT_ffffb995;
undefined DAT_ffffb99d;
undefined DAT_ffffb9a5;
undefined DAT_ffffdb1a;
word WORD_000203a8;
undefined FUN_000189fe;
undefined FUN_000189d0;
undefined1 DAT_ffff9f22;
undefined UNK_000204b2;
undefined UNK_0002055c;
undefined UNK_0002055e;
undefined UNK_0002058c;
undefined DAT_ffffb778;
undefined DAT_ffffb780;
undefined LAB_000208d2;
undefined UNK_000208d8;
undefined UNK_000208f8;
undefined UNK_00020912;
undefined UNK_00020938;
undefined UNK_00020939;
undefined DAT_ffffb98e;
undefined DAT_ffffb996;
word WORD_00020a10;
word WORD_00020a26;
undefined1 DAT_ffffdc61;
undefined1 DAT_ffffdc62;
undefined UNK_00020ae0;
undefined UNK_00020cc2;
undefined UNK_00020cc7;
undefined DAT_ffffbe76;
angle_t angle_t_ffffdc6e;
entity_state_mixed_a_t entity_state_mixed_a_t_ARRAY_00020de6[12];
byte DAT_ffffdc60;
undefined2 DAT_ffffdc70;
undefined DAT_ffffdc72;
undefined DAT_ffffdb40;
short UNK_ffffdc74;
short UNK_ffffdc76;
undefined2 UNK_ffffdc78;
entity_id_w_t entity_id_w_t_ffffdb4e;
undefined DAT_ffffdb8e;
undefined DAT_ffffdbce;
undefined DAT_ffffdc0e;
byte[64][3] BYTE_ARRAY_ARRAY_00020fba;
char DAT_ffffdc63;
word WORD_000210ae;
undefined1 DAT_ffffa63c;
undefined DAT_ffffdb52;
undefined1 DAT_ffffdb92;
undefined1 DAT_ffffdbd2;
undefined1 DAT_ffffdc12;
char DAT_ffffdc61;
char DAT_ffffdb92;
byte DAT_ffffdc62;
undefined1 DAT_ffffdb46;
undefined1 DAT_ffffdb86;
undefined1 DAT_ffffdbc6;
undefined1 DAT_ffffdc06;
undefined1 DAT_ffffdb47;
undefined1 DAT_ffffdb87;
undefined1 DAT_ffffdbc7;
undefined1 DAT_ffffdc07;
word WORD_ARRAY_000213f0[35];
undefined DAT_ffffdc66;
char DAT_ffffdc64;
undefined DAT_ffffdc6c;
undefined DAT_ffffdc68;
undefined DAT_ffffdc6a;
char DAT_ffffdc65;
char DAT_ffffdc62;
byte DAT_ffffdc61;
undefined2 DAT_ffffdb42;
undefined1 DAT_ffffdc40;
undefined UNK_000219c2;
undefined UNK_000219d2;
char DAT_ffffdc40;
undefined1 DAT_ffffdc60;
byte DAT_ffffdcc1;
word WORD_00021d32;
undefined1 DAT_ffffdcc0;
char DAT_ffffdcc1;
short DAT_ffffdcc2;
undefined2 DAT_ffffdccc;
undefined UNK_00021e02;
undefined1 DAT_ffffdb58;
byte DAT_ffffdcc0;
undefined1 DAT_ffffdccf;
short DAT_ffffdcc4;
undefined2 DAT_ffffdce0;
undefined1 DAT_ffffdcc1;
char DAT_ffffdccf;
undefined1 DAT_ffffdcce;
short SHORT_ARRAY_0002222a[17];
undefined DAT_ffffdcba;
short DAT_ffffdc70;
undefined DAT_ffffdcd0;
short DAT_ffffdcb8;
undefined DAT_ffffdcd2;
undefined4 DAT_ffffdcc8;
undefined DAT_ffffdcc4;
undefined2 DAT_ffffdcb8;
byte *DAT_ffffdcc8;
ushort DAT_ffffdcc6;
short DAT_ffffdccc;
char DAT_ffffdcce;
undefined DAT_000225b2;
undefined DAT_000225b3;
byte DAT_ffffdb40;
byte DAT_ffffdb41;
word WORD_00022c8a;
undefined DAT_ffffa14e;
undefined DAT_ffffa252;
undefined DAT_ffffa664;
short DAT_ffffdb42;
char DAT_ffffdb41;
undefined DAT_ffffdb60;
undefined DAT_ffffdb80;
short DAT_ffffdb82;
char DAT_ffffdb86;
undefined UNK_00022d26;
word WORD_000230fc;
short UNK_ffffdb88;
short UNK_ffffdb8a;
short UNK_ffffdb8c;
undefined1 DAT_ffffdb44;
undefined1 DAT_ffffdb45;
byte DAT_ffffdb44;
undefined2 DAT_ffffdb64;
undefined2 DAT_ffffdb84;
undefined DAT_ffffdb66;
undefined DAT_ffffdb46;
char DAT_ffffdb45;
undefined2 DAT_ffffdb60;
undefined2 DAT_ffffdb80;
word case_0;
undefined UNK_000231ca;
undefined UNK_000231d9;
undefined UNK_00023260;
undefined UNK_00023382;
undefined UNK_00023391;
undefined UNK_000234b4;
undefined DAT_ffffdb48;
undefined DAT_ffffdb4a;
int16_vec2_t int16_vec2_t_0002361a;
undefined DAT_ffff9f46;
short DAT_ffffdb50;
short DAT_ffffdb52;
word jmp_000236be;
undefined2 DAT_ffffdb3c;
undefined1 DAT_ffffdb59;
undefined2 DAT_ffffdb50;
undefined2 DAT_ffffdb52;
undefined DAT_ffffdb44;
undefined DAT_ffffdb4c;
ushort DAT_ffffdb5a;
short DAT_ffffdb5a;
int16_vec2_t int16_vec2_t_00023942;
undefined FUN_00023a7e;
word WORD_00023b10;
word WORD_00023b20;
undefined DAT_ffffba7c;
undefined DAT_ffffba80;
undefined1 DAT_ffffdb41;
word WORD_00023e30;
word WORD_00023e32;
word WORD_00023e34;
word WORD_00023e36;
undefined UNK_00024c68;
undefined DAT_ffffb46e;
undefined2 DAT_ffffdb5c;
short DAT_ffffdb5c;
ushort DAT_ffffdb52;
undefined FUN_000242c4;
undefined UNK_000243e6;
undefined UNK_000243e7;
undefined UNK_00024652;
undefined UNK_00024658;
undefined UNK_000246c2;
byte DAT_ffffdb59;
undefined UNK_000247ea;
short DAT_ffffdb54;
short DAT_ffffdb56;
angle_t DAT_ffffdb58;
undefined UNK_00024a1c;
undefined UNK_00024a1e;
undefined2 DAT_ffffdb16;
undefined2 DAT_ffffdb18;
word WORD_00024e60;
word WORD_00024f3e;
word WORD_00025020;
word WORD_00025142;
word WORD_000251ce;
word WORD_00025228;
word WORD_000252ac;
word WORD_0002530c;
undefined FUN_000253b2;
word WORD_000253c6;
word WORD_00025472;
byte FUN_00025544 + 2;
byte FUN_00025544 + 3;
byte LAB_00025548;
byte LAB_00025548 + 1;
undefined FUN_00025544;
word WORD_00025558;
undefined FUN_000255ec;
undefined UNK_00025658;
undefined UNK_0002565a;
word WORD_00025732;
word WORD_00025772;
word WORD_0002589c;
fixed_w_vec2_t fixed_w_vec2_t_ARRAY_000258ec[3];
fixed_w_t UNION_fixed_w_t_00025932;
word WORD_000259ba;
fixed_w_vec2_t fixed_w_vec2_t_ARRAY_00025cdc[5];
ushort DAT_ffffdd40;
short DAT_ffffdd46;
short DAT_ffffdd44;
undefined2 DAT_ffffa732;
undefined2 DAT_ffffa322;
undefined DAT_0002783e;
undefined DAT_0002783f;
undefined DAT_00027840;
undefined2 UNK_ffffa21e;
undefined DAT_ffffdd42;
word[25][3] WORD_ARRAY_ARRAY_0002675e;
short DAT_ffffa52c;
ushort DAT_ffffa322;
undefined DAT_0002696a;
undefined2 DAT_ffffdd4a;
undefined1 DAT_ffffdd4f;
ushort DAT_ffffa12a;
byte BYTE_00026c08;
component_mixed_1_t component_mixed_1_t_00026c16;
undefined DAT_ffffa12a;
undefined DAT_ffffa22e;
undefined DAT_0002711a;
undefined UNK_00027122;
angle_t DAT_ffffdd4e;
short DAT_ffffdd4c;
undefined DAT_000272d8;
undefined DAT_000272de;
undefined DAT_000272e0;
undefined DAT_000272e2;
word WORD_000272e4;
undefined DAT_00027352;
undefined1 DAT_ffffde0d;
undefined1 DAT_ffffddd2;
undefined4 DAT_ffffdd52;
undefined1 DAT_ffffddd3;
undefined1 DAT_ffffddd4;
char DAT_ffffddd5;
byte DAT_ffffddd6;
undefined DAT_000280f6;
undefined DAT_00028150;
undefined DAT_00028198;
undefined DAT_0002819a;
undefined DAT_0002819b;
undefined DAT_0002819c;
char DAT_ffffddd3;
char DAT_ffffddd4;
undefined DAT_0002835a;
undefined DAT_0002835b;
undefined DAT_0002835c;
word WORD_ARRAY_000286be[41];
byte BYTE_ARRAY_000286ae[16];
word WORD_ARRAY_00028786[219];
word WORD_ARRAY_0002893c[6];
string script_1;
undefined DAT_ffffddd8;
undefined DAT_ffffdddc;
undefined2 DAT_ffffa21a;
component_mixed_1_t component_mixed_1_t_00028b7c;
component_mixed_1_t component_mixed_1_t_00028b86;
undefined DAT_00028b9e;
undefined DAT_00028ba4;
word regen_item_price_jump_table;
undefined DAT_00028bc1;
byte regen_item_hearts_jump_table;
undefined UNK_00028b1e;
undefined UNK_00028bac;
undefined UNK_00028e0b;
undefined2 DAT_ffffa216;
undefined1 DAT_ffffddde;
char DAT_ffffdddf;
char DAT_ffffcb2c;
byte DAT_ffffdddf;
byte DAT_ffffcb2c;
undefined2 DAT_ffffddf6;
undefined2 DAT_ffffddf8;
char DAT_ffffddde;
undefined2 DAT_ffffdde0;
undefined2 DAT_ffffddfa;
entity_id_w_t entity_id_w_t_ffffddfc;
char DAT_ffffde0a;
char DAT_ffffde0b;
undefined1 DAT_ffffde0c;
undefined2 DAT_ffff770a;
undefined2 DAT_ffff8d5a;
undefined2 DAT_ffff7a18;
undefined DAT_00029228;
undefined DAT_00029230;
component_mixed_1_t component_mixed_1_t_000294c8;
component_mixed_1_t component_mixed_1_t_000294d2;
component_mixed_1_t component_mixed_1_t_000294dc;
undefined1 DAT_ffffde0b;
char DAT_ffffde0c;
short DAT_ffffdde0;
undefined DAT_0002960c;
word WORD_00029644;
short DAT_ffffddf6;
short DAT_ffffddf8;
component_mixed_1_t component_mixed_1_t_000296be;
component_mixed_1_t component_mixed_1_t_000296c8;
component_mixed_1_t component_mixed_1_t_000296d2;
byte BYTE_ARRAY_00029806[8];
short DAT_ffffc8de;
undefined1 DAT_ffff9f26;
undefined DAT_ffffa53c;
undefined related_to_entering_a_room_3;
undefined related_to_entering_a_room_4;
undefined related_to_entering_a_room_5;
undefined related_to_entering_a_room_6;
undefined2 DAT_ffff9a28;
undefined DAT_00029a62;
undefined1 DAT_ffffde3f;
undefined1 DAT_ffffb570;
undefined UNK_00029b54;
byte DAT_ffffde2f;
undefined DAT_ffffde30;
undefined1 DAT_ffffb571;
undefined1 DAT_ffffb674;
undefined1 DAT_ffffa63d;
byte DAT_ffffa63c;
char DAT_ffffa63c;
undefined1 DAT_ffffde43;
byte DAT_ffffde42;
pointer PTR_DAT_0002adac;
word WORD_0002afca;
byte DAT_ffffde43;
word WORD_0002aff0;
undefined DAT_ffffde44;
char DAT_ffffde43;
word WORD_0002b196;
word WORD_0002b198;
word WORD_0002b19a;
word WORD_0002b1c8;
word WORD_0002b1ca;
word WORD_0002b1cc;
undefined FUN_0002b256;
word WORD_0002b2e8;
undefined FUN_0002b520;
short DAT_ffffc8dc;
word WORD_ARRAY_0002b4a8[4];
word WORD_ARRAY_0002b518[4];
short DAT_ffffde6a;
ushort DAT_ffffde6c;
undefined2 DAT_ffffde52;
word WORD_ARRAY_0002b6e2[19];
undefined2 related_to_pos_x_int;
undefined2 related_to_pos_y_int;
undefined2 DAT_ffffde6a;
undefined2 DAT_ffffde6c;
byte BYTE_ARRAY_0002b842[6];
undefined1 DAT_ffffdeb2;
byte DAT_ffffdeb2;
byte DAT_ffffb571;
word WORD_0002bd5e;
word WORD_0002bd7e;
word WORD_0002bdac;
word WORD_0002bdda;
word WORD_0002be08;
word WORD_0002be36;
word WORD_0002be64;
word WORD_0002be92;
word WORD_0002bec0;
word WORD_0002beee;
word WORD_0002bf1c;
word WORD_0002bf4a;
char DAT_ffffdeb4;
undefined4 DAT_ffffdeb6;
undefined1 DAT_ffffdeb5;
undefined1 DAT_ffffdeb4;
undefined1 DAT_ffffdef0;
undefined2 DAT_ffffdeba;
undefined2 DAT_ffffdecc;
undefined2 DAT_ffffdede;
char DAT_ffffdeb5;
byte *DAT_ffffdeb6;
word WORD_0002c1a4;
undefined4 DAT_ffffdebc;
undefined4 DAT_ffffdec0;
undefined4 DAT_ffffdece;
undefined4 DAT_ffffded2;
undefined4 DAT_ffffdee0;
undefined4 DAT_ffffdee4;
int DAT_ffffdeb6;
undefined1 *DAT_ffffdeb6;
component_mixed_1_t *DAT_ffffdeb6;
undefined2 *DAT_ffffdeb6;
char DAT_ffffdef0;
short *DAT_ffffdeb6;
undefined4 DAT_ffffdec4;
undefined4 DAT_ffffdec8;
undefined4 DAT_ffffded6;
undefined4 DAT_ffffdeda;
undefined4 DAT_ffffdee8;
undefined4 DAT_ffffdeec;
char *DAT_ffffdef2;
undefined4 DAT_ffffdef6;
short DAT_ffffdeba;
int DAT_ffffdebc;
int DAT_ffffdec4;
int DAT_ffffdec0;
int DAT_ffffdec8;
short DAT_ffffdecc;
int DAT_ffffdece;
int DAT_ffffded6;
int DAT_ffffded2;
int DAT_ffffdeda;
short DAT_ffffdede;
int DAT_ffffdee0;
int DAT_ffffdee8;
int DAT_ffffdee4;
int DAT_ffffdeec;
sound_id_t *DAT_ffffdeb6;
undefined DAT_ffff91d4;
undefined DAT_0002d438;
undefined DAT_0002d445;
undefined DAT_0002d55d;
short DAT_ffffdf18;
ushort DAT_ffffdf1c;
short DAT_ffffdf1a;
undefined UNK_0002d992;
undefined UNK_0002d99e;
undefined UNK_0002dfc8;
ushort DAT_ffffdf16;
undefined2 DAT_ffffdf1c;
ushort DAT_ffffdf1a;
undefined UNK_0002dc08;
undefined DAT_00ff0100;
byte DAT_ffffdf1e;
undefined DAT_00ff0000;
undefined1 DAT_ffffdf20;
undefined1 DAT_ffff9fe6;
word WORD_0002e412;
undefined1 DAT_ffffdf21;
byte UNK_ffff9fe7;
short UNK_ffffa1ee;
short UNK_ffffa2f2;
undefined1 UNK_ffffa702;
undefined1 UNK_ffffa703;
undefined2 UNK_ffffb532;
undefined1 UNK_ffffba44;
byte DAT_ffffdf20;
word WORD_0002e49e;
word WORD_0002e4ce;
word WORD_0002e506;
char DAT_ffff9fe6;
byte DAT_ffffdf21;
int16_vec2_t int16_vec2_t_0002e5a0;
int16_vec2_t int16_vec2_t_0002e5ca;
undefined DAT_ffffe224;
undefined DAT_ffffe226;
undefined DAT_ffffe228;
undefined DAT_ffffe22a;
char DAT_ffffe230;
char DAT_ffffe222;
undefined DAT_ffffdf22;
undefined DAT_ffffe022;
byte DAT_ffffe232;
word WORD_0002e820;
word WORD_0002e826;
undefined UNK_0002e92c;
undefined UNK_0002ebf4;
undefined UNK_0002f0d4;
undefined UNK_0002f11c;
undefined UNK_0002f1a8;
undefined DAT_ffffe238;
undefined DAT_ffffe23a;
undefined DAT_ffffe234;
undefined DAT_ffffe23e;
undefined UNK_0002efbe;
undefined UNK_0002efc0;
undefined DAT_ffffe244;
undefined DAT_ffffe240;
undefined UNK_0002f208;
undefined FUN_0002f2c6;
undefined DAT_ffffe246;
undefined1 DAT_ffffe24d;
undefined DAT_ffffe248;
undefined DAT_ffffe24a;
undefined1 DAT_ffffe24c;
undefined DAT_0002f482;
component_mixed_1_t component_mixed_1_t_0002f498;
undefined UNK_0002f708;
undefined DAT_0002f70e;
undefined FUN_0002f51c;
undefined FUN_0002f4a2;
byte DAT_ffffe24c;
char DAT_ffffe24d;
undefined DAT_ffffe24e;
char DAT_ffffe250;
undefined HBLANK;
undefined hblank_cb_something_1;
undefined hblank_cb_something_3;
undefined hblank_cb_something_4;
short SHORT_ARRAY_0002fa28[8];
undefined DAT_ffffe4d2;
undefined1 DAT_ffffe55a;
undefined1 DAT_ffffe55c;
undefined1 DAT_ffffe55b;
undefined DAT_ffffe556;
undefined2 DAT_ffffe552;
undefined DAT_ffffe554;
char DAT_ffffe55c;
word WORD_0002fc32;
char DAT_ffffde0f;
char DAT_ffffde0e;
word WORD_0002fda2;
word WORD_0002fdaa;
word WORD_0003004c;
word WORD_000300ae;
undefined DAT_00030132;
word WORD_0003016c;
word JMP_0003058a;
word WORD_00030682;
word WORD_0003073c;
undefined2 DAT_ffffce08;
undefined2 DAT_ffffce06;
word WORD_0003085e;
short DAT_ffffe552;
word WORD_00030958;
word WORD_000309b2;
byte DAT_ffffe55a;
word WORD_00030c54;
undefined1 DAT_ffffe56e;
byte DAT_ffffe56e;
word WORD_00030f14;
undefined DAT_ffffe558;
word WORD_0003117c;
word WORD_0003125c;
undefined DAT_ffffe562;
undefined DAT_ffffe564;
undefined DAT_ffffe55e;
undefined UNK_00031312;
word WORD_0003136e;
undefined1 UNK_ffffb977;
word WORD_00031440;
byte UNK_ffffb977;
short DAT_ffffd176;
word WORD_0003157e;
char UNK_ffffb977;
undefined UNK_000317e8;
undefined FUN_000318c6;
undefined FUN_0003192e;
word WORD_00031990;
word WORD_00031a30;
byte DAT_ffffb976;
undefined FUN_00031b22;
word DAT_ffffc746;
word WORD_00031c3e;
undefined UNK_00031d24;
undefined UNK_00031e46;
undefined UNK_00031fb8;
word WORD_00032032;
undefined DAT_ffffe570;
undefined FUN_000320f2;
byte DAT_ffff9f27;
undefined DAT_ffffe572;
undefined DAT_ffffe576;
undefined DAT_ffffe57a;
undefined DAT_ffff9432;
undefined UNK_000332a4;
undefined UNK_00033306;
undefined UNK_0003335e;
undefined UNK_000333ca;
undefined2 UNK_ffff9f4c;
undefined2 UNK_ffffa152;
undefined2 UNK_ffffa256;
undefined2 UNK_ffffa35a;
undefined1 UNK_ffffa666;
undefined1 UNK_ffffa667;
undefined UNK_00033cf2;
short DAT_ffffa22e;
undefined UNK_00033df2;
short DAT_ffffa12a;
undefined DAT_ffffe57e;
undefined UNK_00034ab0;
undefined UNK_00034b32;
undefined1 DAT_ffffe586;
undefined DAT_ffffe582;
undefined DAT_ffffe584;
undefined UNK_00034c32;
byte DAT_ffffe586;
char DAT_ffffe584;
char DAT_ffffe585;
undefined DAT_00fffffe;
undefined *script_english_p;
pointer script_japanese_p;
undefined *text_glyph_info_english_pp;
pointer text_glyph_info_japanese_pp;
undefined *text_character_japanese_p;
undefined *text_character_english_p;
pointer name_japanese_p;
pointer name_english_p;
undefined1 game_save_related_likely;
undefined SRAM_GAME_0;
char DAT_fffffff9;
undefined1 DAT_fffffff9;
short DAT_fffffffa;
undefined1 DAT_ffffdddf;
short DAT_fffffffc;
byte unknown_data_1[384];
tile_4bpp_t tile_game_over_gfx[72];
