From d7d1b97bb82daca99995a3f0a7986720ae7d6237 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Thu, 7 Sep 2017 15:10:33 +0200 Subject: [PATCH] add battle strings codes to charmap --- charmap.txt | 62 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 54 insertions(+), 8 deletions(-) diff --git a/charmap.txt b/charmap.txt index e0dece847..f698701c4 100644 --- a/charmap.txt +++ b/charmap.txt @@ -339,15 +339,61 @@ MAXIE = FD 0B KYOGRE = FD 0C GROUDON = FD 0D -@ battle macros +@ battle string placeholders -UNKNOWN_STR = FD 00 - -ATTACKING_TRAINER = FD 08 -DEFENDING_TRAINER = FD 09 - -ATTACKING_MON = FD 0C -DEFENDING_MON = FD 0D +B_BUFF1 = FD 00 +B_BUFF2 = FD 01 +B_COPY_VAR_1 = FD 02 +B_COPY_VAR_2 = FD 03 +B_COPY_VAR_3 = FD 04 +B_PLAYER_MON1_NAME = FD 05 +B_OPPONENT_MON1_NAME = FD 06 +B_PLAYER_MON2_NAME = FD 07 +B_OPPONENT_MON2_NAME = FD 08 +B_LINK_PLAYER_MON1_NAME = FD 09 +B_LINK_OPPONENT_MON1_NAME = FD 0A +B_LINK_PLAYER_MON2_NAME = FD 0B +B_LINK_OPPONENT_MON2_NAME = FD 0C +B_ATK_NAME_WITH_PREFIX_MON1 = FD 0D +B_ATK_NAME = FD 0E +B_ATK_NAME_WITH_PREFIX = FD 0F +B_DEF_NAME_WITH_PREFIX = FD 10 +B_EFF_NAME_WITH_PREFIX = FD 11 @ EFF = short for gEffectBank +B_SCR_ACTIVE_NAME_WITH_PREFIX = FD 12 +B_ACTIVE_NAME_WITH_PREFIX = FD 13 +B_CURRENT_MOVE = FD 14 +B_LAST_MOVE = FD 15 +B_LAST_ITEM = FD 16 +B_LAST_ABILITY = FD 17 +B_ATK_ABILITY = FD 18 +B_DEF_ABILITY = FD 19 +B_SCR_ACTIVE_ABILITY = FD 1A +B_EFF_ABILITY = FD 1B +B_TRAINER1_CLASS = FD 1C +B_TRAINER1_NAME = FD 1D +B_1E = FD 1E @ trainer name for a link player +B_1F = FD 1F @ trainer name for a link player +B_20 = FD 20 @ trainer name for a link player +B_21 = FD 21 @ trainer name for a link player +B_22 = FD 22 @ trainer name for a link player +B_PLAYER_NAME = FD 23 +B_TRAINER1_LOSE_TEXT = FD 24 +B_TRAINER1_WIN_TEXT = FD 25 +B_26 = FD 26 +B_PC_CREATOR_NAME = FD 27 +B_ATK_PREFIX1 = FD 28 +B_DEF_PREFIX1 = FD 29 +B_ATK_PREFIX2 = FD 2A +B_DEF_PREFIX2 = FD 2B +B_ATK_PREFIX3 = FD 2C +B_DEF_PREFIX3 = FD 2D +B_TRAINER2_CLASS = FD 2E +B_TRAINER2_NAME = FD 2F +B_TRAINER2_LOSE_TEXT = FD 30 +B_TRAINER2_WIN_TEXT = FD 31 +B_PARTNER_CLASS = FD 32 +B_PARTNER_NAME = FD 33 +B_BUFF3 = FD 34 @ indicates the end of a town/city name (before " TOWN" or " CITY") NAME_END = FC 00