diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-07-04 00:44:12 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-07-04 00:47:29 -0500 |
commit | f702fc7840e30f00c840ce619a1ea15d763438de (patch) | |
tree | e28c8b27278228f95139f7a73daf214ac680014e /scripts/vermilioncity.asm | |
parent | bc6f0bc08a73a4afafc24d5349d56108d3971e2a (diff) |
Start using text predef macros
also sprite direction constants
Diffstat (limited to 'scripts/vermilioncity.asm')
-rwxr-xr-x | scripts/vermilioncity.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vermilioncity.asm b/scripts/vermilioncity.asm index 9fd05776..0f71a4d0 100755 --- a/scripts/vermilioncity.asm +++ b/scripts/vermilioncity.asm @@ -40,7 +40,7 @@ VermilionCityScriptPointers: ; 197dc (6:57dc) VermilionCityScript0: ; 197e6 (6:57e6) ld a, [wSpriteStateData1 + 9] - and a + and a ; cp SPRITE_FACING_DOWN ret nz ld hl, CoordsData_19823 call ArePlayerCoordsInArray @@ -54,7 +54,7 @@ VermilionCityScript0: ; 197e6 (6:57e6) ld a, [wd803] bit 2, a jr nz, .asm_19810 - ld b, $3f + ld b, S_S__TICKET predef IsItemInBag_ ld a, b and a @@ -162,7 +162,7 @@ VermilionCityText3: ; 198b1 (6:58b1) bit 2, a jr nz, .asm_198f6 ld a, [wSpriteStateData1 + 9] - cp $c + cp SPRITE_FACING_RIGHT jr z, .asm_198c8 ld hl, VermilionCityCoords1 call ArePlayerCoordsInArray |