summaryrefslogtreecommitdiff
path: root/engine/crystal_intro.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-03 18:21:53 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-03 19:42:56 -0500
commit32ed487a476e01759d3d9dbc818d8566ae2c9cb7 (patch)
tree669e90b56d36f17efff5f673235193f5298c0ceb /engine/crystal_intro.asm
parent6ff2cb20e67db2054486fc5dc48eb9263298d4ad (diff)
parentb35eb72290b964b98844afbe741bb7ede34b9ef3 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
Diffstat (limited to 'engine/crystal_intro.asm')
-rwxr-xr-xengine/crystal_intro.asm28
1 files changed, 14 insertions, 14 deletions
diff --git a/engine/crystal_intro.asm b/engine/crystal_intro.asm
index 6576daf41..edc8d19d3 100755
--- a/engine/crystal_intro.asm
+++ b/engine/crystal_intro.asm
@@ -352,7 +352,7 @@ INCBIN "gfx/splash/logo2.1bpp"
CrystalIntro: ; e48ac
ld a, [rSVBK]
push af
- ld a, BANK(wPals)
+ ld a, BANK(wGBCPalettes)
ld [rSVBK], a
ld a, [hInMenu]
push af
@@ -796,7 +796,7 @@ IntroScene9: ; e4c04 (39:4c04)
xor a
ld [hLCDCPointer], a
call ClearSprites
- hlcoord 0, 0, AttrMap
+ hlcoord 0, 0, wAttrMap
; first 12 rows have palette 1
ld bc, 12 * SCREEN_WIDTH
ld a, $1
@@ -1918,15 +1918,15 @@ Intro_RustleGrass: ; e546d (39:546d)
ld hl, .RustlingGrassPointers
add hl, de
ld a, [hli]
- ld [Requested2bppSource], a
+ ld [wRequested2bppSource], a
ld a, [hli]
- ld [Requested2bppSource + 1], a
+ ld [wRequested2bppSource + 1], a
ld a, LOW(vTiles2 tile $09)
- ld [Requested2bppDest], a
+ ld [wRequested2bppDest], a
ld a, HIGH(vTiles2 tile $09)
- ld [Requested2bppDest + 1], a
+ ld [wRequested2bppDest + 1], a
ld a, 4
- ld [Requested2bppSize], a
+ ld [wRequested2bppSize], a
ret
; e5496 (39:5496)
@@ -2021,11 +2021,11 @@ Intro_DecompressRequest2bpp_64Tiles: ; e54fa (39:54fa)
Intro_ResetLYOverrides: ; e5516 (39:5516)
ld a, [rSVBK]
push af
- ld a, BANK(LYOverrides)
+ ld a, BANK(wLYOverrides)
ld [rSVBK], a
- ld hl, LYOverrides
- ld bc, LYOverridesEnd - LYOverrides
+ ld hl, wLYOverrides
+ ld bc, wLYOverridesEnd - wLYOverrides
xor a
call ByteFill
@@ -2038,7 +2038,7 @@ Intro_ResetLYOverrides: ; e5516 (39:5516)
Intro_PerspectiveScrollBG: ; e552f (39:552f)
ld a, [rSVBK]
push af
- ld a, BANK(LYOverrides)
+ ld a, BANK(wLYOverrides)
ld [rSVBK], a
; Scroll the grass every frame.
; Scroll the trees every other frame and at half speed.
@@ -2047,20 +2047,20 @@ Intro_PerspectiveScrollBG: ; e552f (39:552f)
and $1
jr z, .skip
; trees in the back
- ld hl, LYOverrides
+ ld hl, wLYOverrides
ld a, [hl]
inc a
ld bc, $5f
call ByteFill
.skip
; grass in the front
- ld hl, LYOverrides + $5f
+ ld hl, wLYOverrides + $5f
ld a, [hl]
inc a
inc a
ld bc, $31
call ByteFill
- ld a, [LYOverrides + 0]
+ ld a, [wLYOverrides + 0]
ld [hSCX], a
pop af
ld [rSVBK], a