Prev: B566 Up: Map Next: B593
B58B: Sparkle Direction Table
The routines that give a sparkle its speeds in X and Y, chosen by the part of the room that the sparkle is in (bit 7 of the X coordinate and bit 7 of the Y coordinate).
SparkleDirectionTable B58B DEFW SetSparkleSpeed X below 80 and Y below 80: X speed FC, Y speed 04.
B58D DEFW SetSparkleSpeed_PositivePositive X below 80 and Y at least 80: X speed 04, Y speed 04.
B58F DEFW SetSparkleSpeed_NegativeNegative X at least 80 and Y below 80: X speed FC, Y speed FC.
B591 DEFW SetSparkleSpeed_NegativePositive X and Y both at least 80: X speed 04, Y speed FC.
Prev: B566 Up: Map Next: B593