Re-enabling the old event

This commit is contained in:
The Gears of Progress
2024-07-01 16:45:54 -04:00
parent 83454ece38
commit 8f07b1ebdb
10 changed files with 349 additions and 54 deletions

View File

@@ -85,14 +85,17 @@ void rom_data::fill_values(const ROM_DATA *rom_values)
all_collected_flag = rom_values->unused_flag_start; // The flag for if everything has been collected
pkmn_collected_flag_start = rom_values->unused_flag_start + 1; // The beginning of the flags for each of the Pokemon
map_bank = (DEBUG_MODE ? rom_values->test_map_bank : rom_values->map_bank);
map_id = (DEBUG_MODE ? rom_values->test_map_id : rom_values->map_id);
npc_id = (DEBUG_MODE ? rom_values->test_npc_id : rom_values->npc_id);
map_bank = (ENABLE_OLD_EVENT ? rom_values->old_map_bank : rom_values->map_bank);
map_id = (ENABLE_OLD_EVENT ? rom_values->old_map_id : rom_values->map_id);
npc_id = (ENABLE_OLD_EVENT ? rom_values->old_npc_id : rom_values->npc_id);
npc_palette = rom_values->npc_palette;
def_map_bank = rom_values->def_map_bank;
def_map_id = rom_values->def_map_id;
def_npc_id = rom_values->def_npc_id;
loc_gSaveBlock1PTR = rom_values->loc_gSaveBlock1PTR; // TODO: Only used for old script, can be removed later
}
bool rom_data::is_hoenn()