Prev: 8D77 Up: Map Next: 8E26
8DC4: Handler: Serf
HandlerSerf 8DC4 LD BC,$2020
8DC7 LD DE,$0101
8DCA LD HL,$0707
8DCD CALL ControlPlayer
8DD0 LD E,(IX+$06)
8DD3 LD D,(IX+$07)
8DD6 LD A,D
8DD7 OR E
8DD8 JR Z,HandlerSerf_4
8DDA LD A,($5C78)
8DDD AND $03
8DDF JR NZ,HandlerSerf_4
8DE1 LD A,(IX+$00)
8DE4 AND $03
8DE6 ADD A,$21
8DE8 LD (IX+$00),A
8DEB LD A,D
8DEC AND A
8DED JP P,HandlerSerf_0
8DF0 NEG
HandlerSerf_0 8DF2 LD C,A
8DF3 LD A,E
8DF4 AND A
8DF5 JP P,HandlerSerf_1
8DF8 NEG
HandlerSerf_1 8DFA CP C
8DFB JR NC,HandlerSerf_5
8DFD LD A,D
8DFE AND A
8DFF LD A,(IX+$00)
8E02 JP M,HandlerSerf_2
8E05 ADD A,$04
HandlerSerf_2 8E07 ADD A,$08
HandlerSerf_3 8E09 LD (IX+$00),A
8E0C CALL SoundsWalking
HandlerSerf_4 8E0F CALL HandlerCaveDoorLocked_20
8E12 AND $10
8E14 CALL Z,HandlerWeapon_8
8E17 JP HandlerKnight_5
HandlerSerf_5 8E1A LD A,E
8E1B AND A
8E1C LD A,(IX+$00)
8E1F JP M,HandlerSerf_3
8E22 ADD A,$04
8E24 JR HandlerSerf_3
Prev: 8D77 Up: Map Next: 8E26