diff options
author | yenatch <yenatch@gmail.com> | 2017-12-25 19:01:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 19:01:36 -0500 |
commit | 73db02d3cdaf81a214ec6faa5462195618a80a48 (patch) | |
tree | b4d1a5187fda9da6186c52c03e836a5ff8f4dd90 /engine/crystal_intro.asm | |
parent | ec8c9688ce970b9c3b63a5b287a99542f0bc9984 (diff) | |
parent | 29b41068cb0644956494dd2b7b75331a336b8d26 (diff) |
Merge pull request #433 from roukaour/master
More code cleanup
Diffstat (limited to 'engine/crystal_intro.asm')
-rwxr-xr-x | engine/crystal_intro.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/crystal_intro.asm b/engine/crystal_intro.asm index 52b07331e..4f79dc6be 100755 --- a/engine/crystal_intro.asm +++ b/engine/crystal_intro.asm @@ -3,9 +3,9 @@ Copyright_GFPresents: ; e4579 call PlayMusic call ClearBGPalettes call ClearTileMap - ld a, VBGMap0 / $100 + ld a, HIGH(VBGMap0) ld [hBGMapAddress + 1], a - xor a + xor a ; LOW(VBGMap0) ld [hBGMapAddress], a ld [hJoyDown], a ld [hSCX], a @@ -1922,9 +1922,9 @@ Intro_RustleGrass: ; e546d (39:546d) ld [Requested2bppSource], a ld a, [hli] ld [Requested2bppSource + 1], a - ld a, (VTiles2 tile $09) % $100 + ld a, LOW(VTiles2 tile $09) ld [Requested2bppDest], a - ld a, (VTiles2 tile $09) / $100 + ld a, HIGH(VTiles2 tile $09) ld [Requested2bppDest + 1], a ld a, 4 ld [Requested2bppSize], a |