Prev: 47430 Up: Map Next: 47488
47482: Compare Tile Position
Used by the routine at FindTileRecord.
Compares a map column and zone with another.
Input
B Zone
C Column
D Column to compare
E Zone to compare
Output
F The zero flag is set if they are the same
CompareTilePosition 47482 LD A,D A=D.
47483 CP C Return if A is not C.
47484 RET NZ
47485 LD A,E A=E.
47486 CP B Compare A with B.
47487 RET Return.
Prev: 47430 Up: Map Next: 47488