diff options
| author | entrpntr <entrpntr@gmail.com> | 2020-06-10 22:18:52 -0400 |
|---|---|---|
| committer | entrpntr <entrpntr@gmail.com> | 2020-06-10 22:18:52 -0400 |
| commit | 09a82aec6fbe333862211398d073b0f707269c3b (patch) | |
| tree | 4a98b91483298bc4224d79fd93c59b64a374f042 /engine | |
| parent | 0c83c0b5bc93d24d34d8acc2e0a8d66ea3075030 (diff) | |
Use hlbgcoord 0, 0 in a few places.
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/battle/battle_transition.asm | 2 | ||||
| -rw-r--r-- | engine/movie/gold_silver_intro.asm | 4 | ||||
| -rw-r--r-- | engine/movie/title.asm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/battle_transition.asm b/engine/battle/battle_transition.asm index 4de4d347..ad4b359c 100644 --- a/engine/battle/battle_transition.asm +++ b/engine/battle/battle_transition.asm @@ -84,7 +84,7 @@ ConvertTrainerBattlePokeballTilesTo2bpp: jr nz, .loop ld de, wDecompressScratch - ld hl, vBGMap2 + hlbgcoord 0, 0, vBGMap2 ld b, BANK(@) ld c, $28 call Request2bpp diff --git a/engine/movie/gold_silver_intro.asm b/engine/movie/gold_silver_intro.asm index 3455b136..631efa4a 100644 --- a/engine/movie/gold_silver_intro.asm +++ b/engine/movie/gold_silver_intro.asm @@ -936,7 +936,7 @@ IntroScene6: ld [wIntroTilesPointer + 0], a ld a, HIGH(Intro_GrassMeta) ld [wIntroTilesPointer + 1], a - ld hl, vBGMap0 + hlbgcoord 0, 0 ld a, l ld [wIntroBGMapPointer + 0], a ld a, h @@ -1302,7 +1302,7 @@ Intro_BlankTilemapAndBGMap: ld bc, wTilemapEnd - wTilemap xor a call ByteFill - ld hl, vBGMap0 + hlbgcoord 0, 0 ld bc, vBGMap1 - vBGMap0 xor a call ByteFill diff --git a/engine/movie/title.asm b/engine/movie/title.asm index 0ba2720a..263629fc 100644 --- a/engine/movie/title.asm +++ b/engine/movie/title.asm @@ -147,7 +147,7 @@ FillTitleScreenPals: ld bc, 18 * BG_MAP_WIDTH xor a call ByteFill - ld hl, vBGMap2 + hlbgcoord 0, 0, vBGMap2 lb bc, 7, SCREEN_WIDTH ld a, 1 call DrawTitleGraphic |
