summaryrefslogtreecommitdiff
path: root/engine/games
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-29 14:45:40 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-29 14:51:41 -0400
commitbcc0d633e948227e68da8a264d1533771a54b5c4 (patch)
treef28e95e126f4f398597539f5c45205ed048561e5 /engine/games
parentea426a88794b1d216a278b54d18cefafbf7d8771 (diff)
Identify the remaining (non-mobile) uses of another WRAM union
Diffstat (limited to 'engine/games')
-rw-r--r--engine/games/unown_puzzle.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/games/unown_puzzle.asm b/engine/games/unown_puzzle.asm
index 871cb4541..48e36b899 100644
--- a/engine/games/unown_puzzle.asm
+++ b/engine/games/unown_puzzle.asm
@@ -504,13 +504,13 @@ CheckSolvedUnownPuzzle:
RedrawUnownPuzzlePieces:
call GetCurrentPuzzlePieceVTileCorner
- ld [wd002], a
+ ld [wUnownPuzzleCornerTile], a
xor a
call GetUnownPuzzleCoordData ; get pixel positions
ld a, [hli]
ld b, [hl]
ld c, a
- ld a, [wd002]
+ ld a, [wUnownPuzzleCornerTile]
cp $e0
jr z, .NoPiece
ld hl, .OAM_HoldingPiece
@@ -532,7 +532,7 @@ RedrawUnownPuzzlePieces:
add c
ld [de], a ; x
inc de
- ld a, [wd002]
+ ld a, [wUnownPuzzleCornerTile]
add [hl]
ld [de], a ; tile id
inc hl