From bf417fa1c60be876e0f2dbe9e9fc282022a089eb Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Wed, 13 Aug 2025 18:23:10 +0200 Subject: [PATCH] defs: Added battle record struct --- src/defs.s | 8 ++++++++ src/wram.s | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/defs.s b/src/defs.s index d36597d..94993d5 100644 --- a/src/defs.s +++ b/src/defs.s @@ -341,6 +341,14 @@ .de obja_timer, 1 .de obja_size, 0 +#define BR_MAX 4 + + ; battle record +.se 0 +.de br_act_ptr, 2 +.de br_size, 0 + + ; special text commands ; consumes the command diff --git a/src/wram.s b/src/wram.s index d761532..0855400 100644 --- a/src/wram.s +++ b/src/wram.s @@ -177,4 +177,6 @@ map_header: .adv 2 act_sg: .adv act_sg_size * UNITS_MAX * FLOOR_MAP_COUNT act_sg_end: +battle_records: .adv br_size * BR_MAX + state_end: -- 2.30.2