Improve consistency

This commit is contained in:
Lorenzo Carletti 2020-12-23 01:19:13 +01:00
parent 69725119c1
commit ed4267a683
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ int custom_codes_parse_generic(int code, char* parserAddress, WINDOW* window, by
{
case ENEMY_PLURALITY:
// 5E FF 01 : Load enemy plurality into memory
val_to_store = m2_bat_enemies_size > 3 ? 3 : m2_bat_enemies_size;
val_to_store = m2_btl_enemies_size > 3 ? 3 : m2_btl_enemies_size;
store = true;
break;

View File

@ -48,7 +48,7 @@ extern short m2_is_battle;
extern byte m2_cstm_last_pc;
extern BATTLE_DATA* m2_btl_user_ptr;
extern BATTLE_DATA* m2_btl_target_ptr;
extern byte m2_bat_enemies_size;
extern byte m2_btl_enemies_size;
extern byte m2_source_pc;
extern byte m2_active_window_pc;

View File

@ -2044,7 +2044,7 @@ disclaimer_map:
.definelabel buffer_subtractor ,0x0000800
.definelabel overworld_buffer ,0x200F200
.definelabel m2_bat_enemies_size ,0x2025038
.definelabel m2_btl_enemies_size ,0x2025038
.definelabel m2_hall_line_size ,0x3000374
.definelabel m2_source_pc ,0x30009FB
.definelabel m2_ness_data ,0x3001D54