Routines

64057: Continuation of routine at 63915


64057 3002 JR NC,64061 Jump if the water is travelling to the right
64059 91 SUB C
64060 91 SUB C
64061 81 ADD A,C
64062 5F LD E,A Now E=new x-coordinate for water
64063 FEBF CP 191
64065 78 LD A,B Transfer new animatory state to A
64066 DA3061 JP C,24880 Jump to update the SRB if the new x-coordinate is ≤ 191
64069 2E12 LD L,18 Otherwise remove the address of the controlling routine from the water's buffer...
64071 3600 LD (HL),0
64073 C3D674 JP 29910 ...and place the water out of sight