diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:20:29 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:25:58 -0500 |
| commit | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch) | |
| tree | 53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /scripts/silphco8.asm | |
| parent | Rename rod functions (diff) | |
| download | pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.tar.gz pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.tar.xz pokeyellow-f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a.zip | |
Use more lb
and other clean up
Diffstat (limited to 'scripts/silphco8.asm')
| -rwxr-xr-x | scripts/silphco8.asm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/silphco8.asm b/scripts/silphco8.asm index 7545f359..9ea985a8 100755 --- a/scripts/silphco8.asm +++ b/scripts/silphco8.asm @@ -13,18 +13,19 @@ SilphCo8Script_5651a: ; 5651a (15:651a) bit 5, [hl] res 5, [hl] ret z - ld hl, DataTable_5653e + ld hl, SilphCo8GateCoords call SilphCo8Script_56541 call SilphCo8Script_5656d CheckEvent EVENT_SILPH_CO_8_UNLOCKED_DOOR ret nz ld a, $5f ld [wNewTileBlockID], a - ld bc, $403 + lb bc, 4, 3 predef_jump ReplaceTileBlock -DataTable_5653e: ; 5653e (15:653e) - db $04,$03,$FF +SilphCo8GateCoords: ; 5653e (15:653e) + db $04,$03 + db $FF SilphCo8Script_56541: ; 56541 (15:6541) push hl |
