shithub: pokered

Download patch

ref: f1285f8584ce7ff50ceb5e3134c0efc867209096
parent: 7ee8a6509e323ec012ece6273809e46830c29239
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Wed Sep 8 16:59:22 EDT 2021

`ASSERT LOW(wSpriteStateData1) == 0 && LOW(wSpriteStateData2) == 0`

--- a/wram.asm
+++ b/wram.asm
@@ -143,7 +143,7 @@
 ; The high byte of a pointer to anywhere within wSpriteStateData1 can be incremented
 ; to reach within wSpriteStateData2, and vice-versa for decrementing.
 ASSERT HIGH(wSpriteStateData1) + 1 == HIGH(wSpriteStateData2)
-ASSERT LOW(wSpriteStateData1) == 0
+ASSERT LOW(wSpriteStateData1) == 0 && LOW(wSpriteStateData2) == 0
 
 wSpriteDataEnd::