diff options
author | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:29 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-18 08:17:46 -0700 |
commit | fc9af362ae65d24c66b39ea7759637cc9c1f9b0a (patch) | |
tree | 37074f79564b1e47b109566dfd9c3c454a4cc226 /engine/menu/prize_menu.asm | |
parent | b85d7c65f35e93534a871ed34b1950daf59ab189 (diff) |
fix variable naming
Diffstat (limited to 'engine/menu/prize_menu.asm')
-rwxr-xr-x | engine/menu/prize_menu.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/menu/prize_menu.asm b/engine/menu/prize_menu.asm index fff8e4c4..f7206a7f 100755 --- a/engine/menu/prize_menu.asm +++ b/engine/menu/prize_menu.asm @@ -58,13 +58,13 @@ WhichPrizeTextPtr: ; 52789 (14:6789) GetPrizeMenuId: ; 5278e (14:678e) ; determine which one among the three ; prize-texts has been selected -; using the text ID (stored in [$FF8C]) +; using the text ID (stored in [hSpriteIndexOrTextID]) ; load the three prizes at wd13d-wd13f ; load the three prices at wd141-wd146 ; display the three prizes' names ; (distinguishing between Pokemon names ; and Items (specifically TMs) names) - ld a,[$FF8C] + ld a,[hSpriteIndexOrTextID] sub a,$03 ; prize-texts' id are 3, 4 and 5 ld [wd12f],a ; prize-texts' id (relative, i.e. 0, 1 or 2) add a |