diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-25 13:40:10 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-25 14:23:16 -0500 |
commit | e34e68095df1f91dc5357669c187623d7cba39c6 (patch) | |
tree | 5a452f39d9c44012df90a12f1524042c6dbcd062 /engine/routines/phonering_copytilemapatonce.asm | |
parent | da2b01a36c6855230ec36c42bd49e7cf2ca2d348 (diff) |
Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % $100` or `X >> 8` and `X & $ff`
Diffstat (limited to 'engine/routines/phonering_copytilemapatonce.asm')
-rw-r--r-- | engine/routines/phonering_copytilemapatonce.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/routines/phonering_copytilemapatonce.asm b/engine/routines/phonering_copytilemapatonce.asm index 2ffa688a9..1780136d1 100644 --- a/engine/routines/phonering_copytilemapatonce.asm +++ b/engine/routines/phonering_copytilemapatonce.asm @@ -50,7 +50,7 @@ PhoneRing_CopyTilemapAtOnce: ; 4d188 ld a, SCREEN_HEIGHT ld [hTilesPerCycle], a ld b, 1 << 1 ; not in v/hblank - ld c, rSTAT % $100 + ld c, LOW(rSTAT) .loop rept SCREEN_WIDTH / 2 |