From cdaf8e3d9a8fe4c3e9c53269424aada468fdb6ab Mon Sep 17 00:00:00 2001 From: Sawakita Date: Sun, 8 Jan 2012 23:45:46 +0100 Subject: Add function to get a monster's name from a given id (internal order). hg-commit-id: 42e7deffd9b8 --- constants.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'constants.asm') diff --git a/constants.asm b/constants.asm index 6275215c..9d4b4a7e 100644 --- a/constants.asm +++ b/constants.asm @@ -137,10 +137,16 @@ W_CURENEMYLVL EQU $D127 W_ISLINKBATTLE EQU $D12B +W_PRIZE1 EQU $D13D +W_PRIZE2 EQU $D13E +W_PRIZE3 EQU $D13F + W_PLAYERNAME EQU $D158 ; 11 characters, including null W_NUMINPARTY EQU $D163 +W_NUMBAGITEMS EQU $D31D + W_RIVALNAME EQU $D34A ; 11 characters, including null W_CURMAP EQU $D35E -- cgit v1.2.3 From 6ca9439c651672a306d42659cd0772439b6450f9 Mon Sep 17 00:00:00 2001 From: Sawakita Date: Tue, 10 Jan 2012 23:54:38 +0100 Subject: Function $3493, former CheckBagItemExist, is now called IsItemInBag (consistency). Added base routine for text-special id $F7 hg-commit-id: 105c01affa23 --- constants.asm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'constants.asm') diff --git a/constants.asm b/constants.asm index 9d4b4a7e..f5e5a67a 100644 --- a/constants.asm +++ b/constants.asm @@ -2,6 +2,8 @@ RED EQU 1 BLUE EQU 0 GREEN EQU 0 +;\1 = X +;\2 = Y FuncCoord: MACRO Coord = $C3A0 + 20 * \2 + \1 ENDM @@ -154,6 +156,9 @@ W_CURMAP EQU $D35E W_YCOORD EQU $D361 ; player’s position on the current map W_XCOORD EQU $D362 +W_PLAYERCOINS1 EQU $D5A4 +W_PLAYERCOINS2 EQU $D5A5 + W_RIVALSTARTER EQU $D715 W_PLAYERSTARTER EQU $D717 -- cgit v1.2.3