diff options
| author | YamaArashi <shadow962@live.com> | 2015-07-12 23:00:48 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2015-07-12 23:00:48 -0700 |
| commit | 4a8c9993ad182296131ef87111e1b6d6e2af4201 (patch) | |
| tree | cd8044bd5b8e4b88501c2ccf7b006ef296a735ca /engine/cable_club.asm | |
| parent | use constant for bg transfer dest hram var (diff) | |
| download | pokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.tar.gz pokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.tar.xz pokeyellow-4a8c9993ad182296131ef87111e1b6d6e2af4201.zip | |
named wram variables
Diffstat (limited to 'engine/cable_club.asm')
| -rwxr-xr-x | engine/cable_club.asm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/cable_club.asm b/engine/cable_club.asm index 3cbc0867..be403fa6 100755 --- a/engine/cable_club.asm +++ b/engine/cable_club.asm @@ -357,9 +357,9 @@ TradeCenter_SelectMon: dec a ld [wCurrentMenuItem], a .displayEnemyMonStats - ld a, $1 - ld [wd11b], a - callab InitList + ld a, INIT_ENEMYOT_LIST + ld [wInitListType], a + callab InitList ; the list isn't used ld hl, wEnemyMons call TradeCenter_DisplayStats jp .getNewInput @@ -416,9 +416,9 @@ TradeCenter_SelectMon: jr z, .playerMonMenu_ANotPressed jp .chosePlayerMon ; jump if A button pressed ; unreachable code - ld a, $4 - ld [wd11b], a - callab InitList + ld a, INIT_PLAYEROT_LIST + ld [wInitListType], a + callab InitList ; the list isn't used call TradeCenter_DisplayStats jp .getNewInput .playerMonMenu_ANotPressed @@ -511,9 +511,9 @@ TradeCenter_SelectMon: .displayPlayerMonStats pop af ld [wCurrentMenuItem], a - ld a, $4 - ld [wd11b], a - callab InitList + ld a, INIT_PLAYEROT_LIST + ld [wInitListType], a + callab InitList ; the list isn't used call TradeCenter_DisplayStats call LoadScreenTilesFromBuffer1 jp .playerMonMenu |
