From: Lukas Krickl Date: Wed, 13 Aug 2025 16:23:10 +0000 (+0200) Subject: defs: Added battle record struct X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=bf417fa1c60be876e0f2dbe9e9fc282022a089eb;p=gbrg%2F.git defs: Added battle record struct --- 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: