aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/intro.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:30:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:30:10 -0400
commit13129459f11e73df8c556f0c02cd4fca7266a346 (patch)
treef0157c5ba3e66a48eba01fef6ce7283f1dece57a /engine/movie/intro.asm
parentUse HIGH() and LOW() (diff)
downloadpokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.tar.gz
pokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.tar.xz
pokeyellow-13129459f11e73df8c556f0c02cd4fca7266a346.zip
Sync coordinate macros with pokecrystal
Diffstat (limited to 'engine/movie/intro.asm')
-rwxr-xr-xengine/movie/intro.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/movie/intro.asm b/engine/movie/intro.asm
index 08b6ed8b..fc404b82 100755
--- a/engine/movie/intro.asm
+++ b/engine/movie/intro.asm
@@ -217,7 +217,7 @@ IntroClearScreen:
IntroClearMiddleOfScreen:
; clear the area of the tile map between the black bars on the top and bottom
- coord hl, 0, 4
+ hlcoord 0, 4
ld bc, SCREEN_WIDTH * 10
IntroClearCommon:
@@ -274,7 +274,7 @@ IntroMoveMon:
ret
IntroCopyTiles:
- coord hl, 13, 7
+ hlcoord 13, 7
CopyTileIDsFromList_ZeroBaseTileID:
ld c, 0
@@ -348,16 +348,16 @@ PlayShootingStar:
IntroDrawBlackBars:
; clear the screen and draw black bars on the top and bottom
call IntroClearScreen
- coord hl, 0, 0
+ hlcoord 0, 0
ld c, SCREEN_WIDTH * 4
call IntroPlaceBlackTiles
- coord hl, 0, 14
+ hlcoord 0, 14
ld c, SCREEN_WIDTH * 4
call IntroPlaceBlackTiles
ld hl, vBGMap1
ld c, BG_MAP_WIDTH * 4
call IntroPlaceBlackTiles
- ld hl, vBGMap1 + BG_MAP_WIDTH * 14
+ hlbgcoord 0, 14, vBGMap1
ld c, BG_MAP_WIDTH * 4
jp IntroPlaceBlackTiles