diff options
| author | yenatch <yenatch@gmail.com> | 2014-06-14 14:24:35 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-06-14 14:24:35 -0700 |
| commit | 81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689 (patch) | |
| tree | 6fe00a8968a096b3147b53c8bdb5213d6c58e2e0 /engine/hall_of_fame.asm | |
| parent | Use monster struct macros in wram. Rename related labels for consistency. (diff) | |
| download | pokeyellow-81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689.tar.gz pokeyellow-81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689.tar.xz pokeyellow-81bbab85ac7d7f4c2efe794a4b3cc1e51c0b2689.zip | |
Hall of Fame sram labels and related constants.
Diffstat (limited to 'engine/hall_of_fame.asm')
| -rwxr-xr-x | engine/hall_of_fame.asm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engine/hall_of_fame.asm b/engine/hall_of_fame.asm index b44a88e1..28705901 100755 --- a/engine/hall_of_fame.asm +++ b/engine/hall_of_fame.asm @@ -1,7 +1,7 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) call Func_70423 call ClearScreen - ld c, $64 + ld c, 100 call DelayFrames call LoadFontTilePatterns call LoadTextBoxTilePatterns @@ -14,8 +14,8 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) ld hl, rLCDC ; $ff40 set 3, [hl] xor a - ld hl, wcc5b - ld bc, $60 + ld hl, wHallOfFame + ld bc, HOF_TEAM call FillMemory xor a ld [wcfcb], a @@ -49,7 +49,7 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) ld a, c ld [wTrainerEngageDistance], a ld hl, wPartyMon1Level ; wPartyMon1Level - ld bc, $2c + ld bc, wPartyMon2 - wPartyMon1 call AddNTimes ld a, [hl] ld [wTrainerFacingDirection], a @@ -66,7 +66,7 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) ld hl, Coord ld de, HallOfFameText call PlaceString - ld c, $b4 + ld c, 180 call DelayFrames call GBFadeOut2 pop bc @@ -75,11 +75,11 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) .asm_70241 ld a, c inc a - ld hl, wcc5b - ld bc, $10 + ld hl, wHallOfFame + ld bc, HOF_MON call AddNTimes ld [hl], $ff - call Func_73b0d + call SaveHallOfFameTeams xor a ld [wWhichTrade], a ; wWhichTrade inc a @@ -283,8 +283,8 @@ DexRatingText: ; 703ff (1c:43ff) db "@" Func_70404: ; 70404 (1c:4404) - ld hl, wcc5b - ld bc, $10 + ld hl, wHallOfFame + ld bc, HOF_MON ld a, [wTrainerEngageDistance] call AddNTimes ld a, [wWhichTrade] ; wWhichTrade |
