Prev: 33521 Up: Map Next: 35690
33537: Handler: Batlet
HandlerBatlet 33537 LD A,(60049)
33540 CP (IX+1)
33543 JP NZ,HandlerBatlet_43
33546 CALL StoreEntity
33549 LD HL,24101
33552 INC (HL)
33553 CALL HandlerBatlet_39
33556 DEC E
33557 JP Z,HandlerBatlet_42
33560 CALL HandlerBatlet_32
33563 DEC E
33564 JP Z,HandlerBatlet_54
33567 LD (IX+15),0
33571 LD DE,(24093)
33575 LD A,(IX+9)
33578 INC A
33579 AND 15
33581 LD (IX+9),A
33584 JP NZ,HandlerBatlet_0
33587 LD A,R
33589 AND 7
33591 LD (IX+8),A
HandlerBatlet_0 33594 CALL HandlerBatlet_14
33597 LD (IX+5),67
33601 JR NZ,HandlerBatlet_1
33603 INC HL
HandlerBatlet_1 33604 LD A,(HL)
33605 BIT 1,(IX+8)
33609 JR NZ,HandlerBatlet_2
33611 NEG
HandlerBatlet_2 33613 ADD A,(IX+4)
33616 LD C,A
33617 SUB 104
33619 JR C,HandlerBatlet_3
33621 CP D
33622 JR NC,HandlerBatlet_10
33624 JR HandlerBatlet_4
HandlerBatlet_3 33626 NEG
33628 CP D
33629 JR NC,HandlerBatlet_11
HandlerBatlet_4 33631 LD (IX+4),C
HandlerBatlet_5 33634 CALL HandlerBatlet_14
33637 JR Z,HandlerBatlet_6
33639 INC HL
HandlerBatlet_6 33640 LD A,(HL)
33641 BIT 0,(IX+8)
33645 JR NZ,HandlerBatlet_7
33647 NEG
HandlerBatlet_7 33649 ADD A,(IX+3)
33652 LD C,A
33653 SUB 88
33655 JR C,HandlerBatlet_8
33657 CP E
33658 JR NC,HandlerBatlet_13
33660 JR HandlerBatlet_9
HandlerBatlet_8 33662 NEG
33664 CP E
33665 JR NC,HandlerBatlet_12
HandlerBatlet_9 33667 LD (IX+3),C
33670 LD A,(IX+9)
33673 RRA
33674 RRA
33675 AND 1
33677 LD C,A
33678 LD A,(IX+0)
33681 AND 254
33683 ADD A,C
33684 LD (IX+0),A
33687 LD A,(60048)
33690 CP 49
33692 JP NC,HandlerBatlet_54
33695 JP HandlerKnight_6
HandlerBatlet_10 33698 RES 1,(IX+8)
33702 JR HandlerBatlet_5
HandlerBatlet_11 33704 SET 1,(IX+8)
33708 JR HandlerBatlet_5
HandlerBatlet_12 33710 SET 0,(IX+8)
33714 JR HandlerBatlet_9
HandlerBatlet_13 33716 RES 0,(IX+8)
33720 JR HandlerBatlet_9
HandlerBatlet_14 33722 LD C,(IX+9)
33725 SLA C
33727 LD B,0
33729 LD HL,33738
33732 ADD HL,BC
33733 BIT 2,(IX+8)
33737 RET
33738 INC BC
33739 NOP
33740 INC BC
33741 NOP
33742 INC BC
33743 LD BC,259
33746 INC BC
33747 LD BC,514
33750 LD (BC),A
33751 LD (BC),A
33752 LD (BC),A
33753 LD (BC),A
33754 LD (BC),A
33755 LD (BC),A
33756 LD (BC),A
33757 LD (BC),A
33758 LD (BC),A
33759 LD (BC),A
33760 LD BC,259
33763 INC BC
33764 LD BC,3
33767 INC BC
33768 NOP
33769 INC BC
This entry point is used by the routine at HandlerKnight.
HandlerBatlet_15 33770 LD A,(24102)
33773 LD C,A
33774 LD A,(60049)
33777 CP C
33778 JR NZ,HandlerBatlet_19
33780 LD HL,24103
33783 LD A,(HL)
33784 AND A
33785 JR Z,HandlerBatlet_20
33787 DEC (HL)
33788 RET NZ
HandlerBatlet_16 33789 LD HL,61024
33792 LD DE,16
33795 LD B,3
HandlerBatlet_17 33797 LD A,(HL)
33798 AND A
33799 JR Z,HandlerBatlet_18
33801 ADD HL,DE
33802 DJNZ HandlerBatlet_17
33804 RET
HandlerBatlet_18 33805 EX DE,HL
33806 LD HL,35690
33809 LD BC,16
33812 PUSH DE
33813 LDIR
33815 POP HL
33816 PUSH HL
33817 INC HL
33818 LD A,(60049)
33821 LD (HL),A
33822 INC HL
33823 PUSH HL
33824 LD HL,35706
33827 LD A,(23672)
33830 AND 15
33832 LD E,A
33833 LD D,0
33835 ADD HL,DE
33836 LD A,(HL)
33837 POP HL
33838 LD (HL),A
33839 LD DE,(24093)
33843 LD B,E
33844 CALL HandlerBatlet_35
33847 LD (HL),A
33848 LD B,D
33849 CALL HandlerBatlet_35
33852 LD (HL),A
33853 POP DE
33854 PUSH IX
33856 LD IX,0
33860 ADD IX,DE
33862 CALL HandlerBatlet_48
33865 CALL DrawEntity
33868 POP IX
33870 RET
HandlerBatlet_19 33871 LD (24102),A
33874 LD A,32
33876 LD (24103),A
33879 RET
HandlerBatlet_20 33880 LD A,R
33882 AND 15
33884 RET NZ
33885 JR HandlerBatlet_16
33887 CALL StoreEntity
33890 LD A,(60049)
33893 CP (IX+1)
33896 JP NZ,HandlerBatlet_43
33899 LD HL,24101
33902 INC (HL)
33903 CALL HandlerBatlet_32
33906 DEC E
33907 JP Z,HandlerBatlet_54
33910 CALL HandlerBatlet_39
33913 DEC E
33914 JP Z,HandlerBatlet_42
33917 LD DE,(24093)
33921 LD (IX+15),0
33925 LD (IX+5),70
33929 LD A,(IX+7)
33932 AND 15
33934 JR NZ,HandlerBatlet_21
33936 LD A,R
33938 AND 3
33940 LD (IX+6),A
HandlerBatlet_21 33943 BIT 0,(IX+7)
33947 JR NZ,HandlerBatlet_23
33949 BIT 0,(IX+6)
33953 JP Z,HandlerBatlet_30
33956 LD A,(IX+8)
33959 CP 2
33961 JR Z,HandlerBatlet_22
33963 INC (IX+8)
HandlerBatlet_22 33966 BIT 1,(IX+6)
33970 JP Z,HandlerBatlet_31
33973 LD A,(IX+9)
33976 CP 2
33978 JR Z,HandlerBatlet_23
33980 INC (IX+9)
HandlerBatlet_23 33983 INC (IX+7)
33986 LD A,(IX+7)
33989 AND 1
33991 XOR (IX+0)
33994 LD (IX+0),A
HandlerBatlet_24 33997 LD A,(IX+3)
34000 ADD A,(IX+8)
34003 LD C,A
34004 SUB 88
34006 JR C,HandlerBatlet_25
34008 CP E
34009 JR C,HandlerBatlet_26
34011 RES 0,(IX+6)
34015 LD (IX+8),254
34019 LD C,(IX+3)
34022 JR HandlerBatlet_26
HandlerBatlet_25 34024 NEG
34026 CP E
34027 JR C,HandlerBatlet_26
34029 SET 0,(IX+6)
34033 LD C,(IX+3)
34036 LD (IX+8),2
HandlerBatlet_26 34040 LD A,(IX+4)
34043 ADD A,(IX+9)
34046 LD B,A
34047 SUB 104
34049 JR C,HandlerBatlet_27
34051 CP D
34052 JR C,HandlerBatlet_28
34054 RES 1,(IX+6)
34058 LD (IX+9),254
34062 LD B,(IX+4)
34065 JR HandlerBatlet_28
HandlerBatlet_27 34067 NEG
34069 CP D
34070 JR C,HandlerBatlet_28
34072 SET 1,(IX+6)
34076 LD B,(IX+4)
34079 LD (IX+9),2
HandlerBatlet_28 34083 LD (IX+3),C
34086 LD (IX+4),B
34089 LD A,(60049)
34092 CP (IX+1)
34095 RET NZ
34096 LD A,(IX+0)
34099 AND 252
34101 CP 156
34103 JR Z,HandlerBatlet_29
34105 AND 240
34107 CP 112
34109 JR Z,HandlerBatlet_29
34111 LD A,(60048)
34114 CP 49
34116 JP NC,HandlerBatlet_54
HandlerBatlet_29 34119 JP HandlerKnight_6
HandlerBatlet_30 34122 LD A,(IX+8)
34125 CP 254
34127 JP Z,HandlerBatlet_22
34130 DEC (IX+8)
34133 JP HandlerBatlet_22
HandlerBatlet_31 34136 LD A,(IX+9)
34139 CP 254
34141 JP Z,HandlerBatlet_23
34144 DEC (IX+9)
34147 JP HandlerBatlet_23
HandlerBatlet_32 34150 LD A,(60057)
34153 LD E,0
34155 CP (IX+1)
34158 RET NZ
34159 LD A,(60056)
34162 AND A
34163 RET Z
34164 LD A,(60059)
34167 SUB (IX+3)
34170 JP P,HandlerBatlet_33
34173 NEG
HandlerBatlet_33 34175 CP 12
34177 RET NC
34178 LD A,(60060)
34181 SUB (IX+4)
34184 JP P,HandlerBatlet_34
34187 NEG
HandlerBatlet_34 34189 CP 12
34191 RET NC
34192 LD A,1
34194 LD (60058),A
34197 LD E,1
34199 RET
HandlerBatlet_35 34200 LD A,B
34201 SUB 8
34203 LD B,A
34204 LD A,R
34206 INC HL
HandlerBatlet_36 34207 CP B
34208 JR C,HandlerBatlet_37
34210 SUB B
34211 JR HandlerBatlet_36
HandlerBatlet_37 34213 LD C,A
34214 LD A,R
34216 BIT 1,A
34218 LD A,96
34220 JR Z,HandlerBatlet_38
34222 ADD A,C
34223 RET
HandlerBatlet_38 34224 SUB C
34225 RET
HandlerBatlet_39 34226 LD A,(60049)
34229 LD E,0
34231 CP (IX+1)
34234 RET NZ
34235 LD A,(60048)
34238 AND A
34239 RET Z
34240 CP 49
34242 RET NC
34243 LD A,(60051)
34246 SUB (IX+3)
34249 JP P,HandlerBatlet_40
34252 NEG
HandlerBatlet_40 34254 CP 12
34256 RET NC
34257 LD A,(60052)
34260 SUB (IX+4)
34263 JP P,HandlerBatlet_41
34266 NEG
HandlerBatlet_41 34268 CP 12
34270 RET NC
34271 LD A,1
34273 LD (60050),A
34276 CALL SoundsTouching
34279 LD E,1
34281 RET
HandlerBatlet_42 34282 CALL HandlerKnight_11
34285 JP HandlerBatlet_54
HandlerBatlet_43 34288 DEC (IX+15)
34291 RET NZ
34292 JP HandlerWeapon_7
34295 CALL StoreEntity
34298 LD A,(60049)
34301 CP (IX+1)
34304 JP NZ,HandlerBatlet_43
34307 LD HL,24101
34310 INC (HL)
34311 DEC (IX+14)
34314 JR Z,HandlerBatlet_44
34316 LD A,(IX+14)
34319 AND 3
34321 ADD A,88
34323 LD (IX+0),A
34326 LD (IX+15),128
34330 LD A,(60048)
34333 CP 49
34335 JP NC,HandlerBatlet_54
34338 JP HandlerKnight_6
HandlerBatlet_44 34341 LD A,(IX+2)
34344 LD (IX+0),A
34347 JP HandlerKnight_6
34350 CALL StoreEntity
34353 LD A,(60049)
34356 CP (IX+1)
34359 JP NZ,HandlerBatlet_43
34362 LD HL,24101
34365 INC (HL)
34366 CALL HandlerBatlet_39
34369 DEC E
34370 JP Z,HandlerBatlet_42
34373 CALL HandlerBatlet_32
34376 DEC E
34377 JP Z,HandlerBatlet_54
34380 LD (IX+5),69
34384 INC (IX+7)
34387 CALL Z,HandlerBatlet_48
34390 LD A,(IX+7)
34393 RRA
34394 RRA
34395 AND 1
34397 LD C,A
34398 LD A,(IX+0)
34401 AND 254
34403 ADD A,C
34404 LD (IX+0),A
34407 LD DE,(24093)
34411 LD (IX+15),0
34415 JP HandlerBatlet_24
34418 CALL StoreEntity
34421 LD A,(60049)
34424 CP (IX+1)
34427 JP NZ,HandlerBatlet_43
34430 LD HL,24101
34433 INC (HL)
34434 LD (IX+15),0
34438 CALL HandlerBatlet_39
34441 DEC E
34442 JP Z,HandlerBatlet_42
34445 CALL HandlerBatlet_32
34448 DEC E
34449 JP Z,HandlerBatlet_54
34452 LD A,(IX+10)
34455 RRA
34456 AND 1
34458 LD C,A
34459 LD A,(IX+0)
34462 AND 254
34464 ADD A,C
34465 LD (IX+0),A
34468 LD DE,(24093)
34472 INC (IX+10)
34475 LD A,(IX+10)
34478 CP 7
34480 JR NZ,HandlerBatlet_45
34482 CALL HandlerBatlet_48
34485 LD (IX+10),249
HandlerBatlet_45 34489 SRA A
34491 ADD A,(IX+4)
34494 LD C,A
34495 SUB 104
34497 JP P,HandlerBatlet_47
34500 NEG
34502 CP D
34503 JR C,HandlerBatlet_46
34505 LD (IX+9),2
34509 SET 1,(IX+6)
34513 BIT 7,(IX+10)
34517 JR Z,HandlerBatlet_46
34519 LD (IX+10),0
HandlerBatlet_46 34523 LD (IX+4),C
34526 JP HandlerBatlet_24
HandlerBatlet_47 34529 CP D
34530 JR C,HandlerBatlet_46
34532 RES 1,(IX+6)
34536 LD (IX+9),254
34540 LD (IX+10),249
34544 JR HandlerBatlet_46
HandlerBatlet_48 34546 LD A,R
34548 BIT 0,A
34550 JR Z,HandlerBatlet_51
34552 AND 4
34554 SUB 2
HandlerBatlet_49 34556 LD (IX+9),A
34559 LD A,R
34561 RRA
34562 BIT 0,A
34564 JR Z,HandlerBatlet_52
34566 AND 4
34568 SUB 2
HandlerBatlet_50 34570 LD (IX+8),A
34573 RET
HandlerBatlet_51 34574 AND 2
34576 SUB 1
34578 JR HandlerBatlet_49
HandlerBatlet_52 34580 AND 2
34582 SUB 1
34584 JR HandlerBatlet_50
34586 CALL StoreEntity
34589 LD A,(60049)
34592 CP (IX+1)
34595 JP NZ,HandlerBatlet_43
34598 LD HL,24101
34601 INC (HL)
34602 LD (IX+15),0
34606 CALL HandlerBatlet_39
34609 DEC E
34610 JP Z,HandlerBatlet_42
34613 CALL HandlerBatlet_32
34616 DEC E
34617 JP Z,HandlerBatlet_54
34620 LD DE,(24093)
34624 DEC (IX+13)
34627 JR NZ,HandlerBatlet_53
34629 LD (IX+13),17
34633 CALL HandlerBatlet_48
HandlerBatlet_53 34636 LD A,(IX+13)
34639 RRA
34640 AND 1
34642 LD C,A
34643 LD A,(IX+0)
34646 AND 254
34648 ADD A,C
34649 LD (IX+0),A
34652 JP HandlerBatlet_24
HandlerBatlet_54 34655 LD A,(IX+5)
34658 PUSH AF
34659 LD A,(24090)
34662 LD (IX+5),A
34665 CALL RemoveEntity
34668 CALL SetEntityAttributes_0
34671 POP AF
34672 LD (IX+5),A
34675 LD (IX+0),108
34679 LD (IX+14),16
34683 LD BC,341
34686 CALL AddPointsToScore
34689 CALL DrawEntity
34692 JP SetEntityAttributes_0
34695 CALL StoreEntity
34698 LD A,(60049)
34701 CP (IX+1)
34704 JP NZ,HandlerBatlet_43
34707 DEC (IX+14)
34710 JP Z,HandlerWeapon_6
34713 LD A,(IX+14)
34716 AND 3
34718 ADD A,108
34720 LD (IX+0),A
34723 JP HandlerKnight_6
34726 CALL StoreEntity
34729 LD A,(60049)
34732 CP (IX+1)
34735 JP NZ,HandlerBatlet_43
34738 LD HL,24101
34741 INC (HL)
34742 CALL HandlerBatlet_32
34745 DEC E
34746 JP Z,HandlerBatlet_54
34749 CALL HandlerBatlet_39
34752 DEC E
34753 JP Z,HandlerBatlet_42
34756 LD DE,(24093)
34760 LD (IX+15),0
34764 LD (IX+5),70
34768 LD A,(IX+7)
34771 AND 7
34773 JR NZ,HandlerBatlet_55
34775 LD A,R
34777 AND 3
34779 LD (IX+6),A
HandlerBatlet_55 34782 BIT 0,(IX+7)
34786 JR NZ,HandlerBatlet_57
34788 BIT 0,(IX+6)
34792 JR Z,HandlerBatlet_58
34794 LD A,(IX+8)
34797 CP 2
34799 JR Z,HandlerBatlet_56
34801 INC (IX+8)
HandlerBatlet_56 34804 BIT 1,(IX+6)
34808 JR Z,HandlerBatlet_59
34810 LD A,(IX+9)
34813 CP 2
34815 JR Z,HandlerBatlet_57
34817 INC (IX+9)
HandlerBatlet_57 34820 INC (IX+7)
34823 LD A,(IX+7)
34826 AND 1
34828 XOR (IX+0)
34831 LD (IX+0),A
34834 JP HandlerBatlet_24
HandlerBatlet_58 34837 LD A,(IX+8)
34840 CP 254
34842 JR Z,HandlerBatlet_56
34844 DEC (IX+8)
34847 JR HandlerBatlet_56
HandlerBatlet_59 34849 LD A,(IX+9)
34852 CP 254
34854 JR Z,HandlerBatlet_57
34856 DEC (IX+9)
34859 JR HandlerBatlet_57
HandlerBatlet_60 34861 LD C,0
34863 LD A,D
34864 CP (IX+4)
34867 JR Z,HandlerBatlet_62
34869 JR NC,HandlerBatlet_63
34871 LD (IX+9),255
HandlerBatlet_61 34875 LD A,E
34876 CP (IX+3)
34879 JR Z,HandlerBatlet_64
34881 JR NC,HandlerBatlet_65
34883 LD (IX+8),255
34887 RET
HandlerBatlet_62 34888 LD (IX+9),0
34892 SET 0,C
34894 JR HandlerBatlet_61
HandlerBatlet_63 34896 LD (IX+9),1
34900 JR HandlerBatlet_61
HandlerBatlet_64 34902 LD (IX+8),0
34906 SET 1,C
34908 RET
HandlerBatlet_65 34909 LD (IX+8),1
34913 RET
34914 CALL StoreEntity
34917 CALL HandlerBatlet_39
34920 DEC E
34921 CALL Z,HandlerBatlet_82
34924 LD HL,60128
34927 LD A,(HL)
34928 AND A
34929 JR Z,HandlerBatlet_66
34931 INC HL
34932 LD A,(HL)
34933 CP (IX+1)
34936 JR NZ,HandlerBatlet_66
34938 INC HL
34939 INC HL
34940 LD E,(HL)
34941 INC HL
34942 LD D,(HL)
34943 JR HandlerBatlet_70
HandlerBatlet_66 34945 BIT 7,(IX+6)
34949 JR NZ,HandlerBatlet_73
34951 LD HL,60104
34954 LD A,(HL)
34955 AND A
34956 JR Z,HandlerBatlet_72
34958 INC HL
34959 LD A,(HL)
34960 CP (IX+1)
34963 JR NZ,HandlerBatlet_72
34965 LD D,(IX+12)
34968 LD E,(IX+11)
34971 CALL HandlerBatlet_60
34974 LD A,C
34975 CP 3
34977 JR Z,HandlerBatlet_68
HandlerBatlet_67 34979 LD A,(24082)
34982 RRA
34983 RRA
34984 AND 3
34986 ADD A,112
34988 LD (IX+0),A
34991 LD DE,14392
34994 JP HandlerBatlet_80
HandlerBatlet_68 34997 BIT 6,(IX+6)
35001 JR Z,HandlerBatlet_69
35003 LD (IX+11),140
35007 LD (IX+12),104
35011 RES 6,(IX+6)
35015 JR HandlerBatlet_67
HandlerBatlet_69 35017 LD (IX+11),104
35021 LD (IX+12),56
35025 SET 6,(IX+6)
35029 JR HandlerBatlet_67
HandlerBatlet_70 35031 CALL HandlerBatlet_60
35034 LD A,C
35035 CP 3
35037 JR NZ,HandlerBatlet_67
35039 PUSH IX
35041 LD IX,60128
35045 LD A,(60049)
35048 CP (IX+1)
35051 JR NZ,HandlerBatlet_71
35053 CALL DrawEntity
HandlerBatlet_71 35056 POP IX
35058 LD A,107
35060 LD (60129),A
35063 JR HandlerBatlet_68
HandlerBatlet_72 35065 SET 7,(IX+6)
HandlerBatlet_73 35069 LD DE,(60051)
35073 CALL HandlerBatlet_60
35076 JR HandlerBatlet_67
35078 CALL StoreEntity
35081 CALL HandlerBatlet_39
35084 DEC E
35085 CALL Z,HandlerBatlet_82
35088 LD DE,18058
35091 CALL HandlerCaveDoorLocked_2
35094 JR NZ,HandlerBatlet_74
35096 LD DE,(60051)
35100 CALL HandlerBatlet_60
35103 LD A,(IX+8)
35106 NEG
35108 LD (IX+8),A
35111 LD A,(IX+9)
35114 NEG
35116 LD (IX+9),A
35119 JR HandlerBatlet_75
HandlerBatlet_74 35121 LD A,(60049)
35124 CP (IX+1)
35127 JR NZ,HandlerBatlet_76
35129 LD DE,(60051)
35133 CALL HandlerBatlet_60
HandlerBatlet_75 35136 LD A,(24082)
35139 RRA
35140 RRA
35141 AND 3
35143 ADD A,124
35145 LD (IX+0),A
35148 LD DE,13364
35151 JP HandlerBatlet_80
HandlerBatlet_76 35154 LD (IX+11),104
35158 LD (IX+12),104
35162 CALL HandlerBatlet_60
35165 LD A,(23672)
35168 AND A
35169 JP NZ,HandlerBatlet_75
35172 LD A,R
35174 AND 127
35176 LD C,A
35177 CALL HandlerBatlet_77
35180 CP 3
35182 JP NC,HandlerBatlet_75
35185 LD A,(60049)
35188 CP C
35189 JP Z,HandlerBatlet_75
35192 LD (IX+1),C
35195 JR HandlerBatlet_75
HandlerBatlet_77 35197 LD L,A
35198 LD H,0
35200 LD DE,43092
35203 ADD HL,HL
35204 ADD HL,DE
35205 INC HL
35206 LD A,(HL)
35207 RET
35208 CALL StoreEntity
35211 CALL HandlerBatlet_39
35214 DEC E
35215 JR NZ,HandlerBatlet_79
35217 LD DE,17803
35220 CALL HandlerCaveDoorLocked_2
35223 JR NZ,HandlerBatlet_78
35225 LD BC,4096
35228 CALL AddPointsToScore
35231 JP HandlerBatlet_54
HandlerBatlet_78 35234 CALL HandlerBatlet_82
HandlerBatlet_79 35237 LD DE,(60051)
35241 CALL HandlerBatlet_60
35244 LD A,(24082)
35247 RRA
35248 RRA
35249 AND 3
35251 ADD A,116
35253 LD (IX+0),A
35256 LD DE,13364
HandlerBatlet_80 35259 LD A,(60048)
35262 CP 49
35264 JP C,HandlerBatlet_24
35267 LD DE,(60051)
35271 CALL HandlerBatlet_60
35274 LD A,(IX+8)
35277 NEG
35279 LD (IX+8),A
35282 LD C,A
35283 LD A,(IX+9)
35286 NEG
35288 LD (IX+9),A
35291 LD DE,13364
35294 AND C
35295 JP NZ,HandlerBatlet_24
35298 LD (IX+8),1
35302 LD (IX+9),1
35306 JP HandlerBatlet_24
35309 CALL StoreEntity
35312 CALL HandlerBatlet_39
35315 DEC E
35316 CALL Z,HandlerBatlet_82
35319 LD DE,(60051)
35323 CALL HandlerBatlet_60
35326 LD A,(IX+0)
35329 AND 252
35331 LD C,A
35332 LD A,(24082)
35335 RRA
35336 RRA
35337 AND 3
35339 ADD A,C
35340 LD (IX+0),A
35343 LD DE,13364
35346 JP HandlerBatlet_80
HandlerBatlet_81 35349 LD A,(24104)
35352 SUB 16
35354 JR C,HandlerBatlet_84
35356 JR HandlerBatlet_83
HandlerBatlet_82 35358 LD A,(24104)
35361 SUB 8
35363 JR C,HandlerBatlet_84
HandlerBatlet_83 35365 LD (24104),A
35368 JP DrawChicken
HandlerBatlet_84 35371 POP HL
35372 JP HandlerKnight_8
35375 CALL StoreEntity
35378 LD A,(60049)
35381 CP (IX+1)
35384 JP NZ,HandlerBatlet_43
35387 LD HL,24101
35390 INC (HL)
35391 CALL HandlerBatlet_39
35394 DEC E
35395 JP Z,HandlerBatlet_42
35398 CALL HandlerBatlet_32
35401 DEC E
35402 JP Z,HandlerBatlet_54
35405 DEC (IX+13)
35408 JR NZ,HandlerBatlet_85
35410 CALL HandlerBatlet_48
35413 SRA (IX+9)
35417 LD (IX+13),16
HandlerBatlet_85 35421 LD A,(IX+0)
35424 AND 252
35426 BIT 7,(IX+8)
35430 JR NZ,HandlerBatlet_86
35432 ADD A,2
HandlerBatlet_86 35434 LD C,A
35435 LD A,(IX+13)
35438 RRA
35439 AND 1
35441 ADD A,C
35442 LD (IX+0),A
35445 LD DE,(24093)
35449 LD (IX+5),67
35453 JP HandlerBatlet_24
35456 CALL StoreEntity
35459 LD A,(60049)
35462 CP (IX+1)
35465 JP NZ,HandlerBatlet_43
35468 LD HL,24101
35471 INC (HL)
35472 CALL HandlerBatlet_39
35475 DEC E
35476 JP Z,HandlerBatlet_42
35479 CALL HandlerBatlet_32
35482 DEC E
35483 JP Z,HandlerBatlet_54
35486 DEC (IX+13)
35489 JR NZ,HandlerBatlet_87
35491 CALL HandlerBatlet_48
35494 LD A,(23672)
35497 AND 4
35499 SUB 2
35501 LD (IX+8),A
35504 SRA (IX+9)
35508 LD (IX+13),32
HandlerBatlet_87 35512 LD A,(IX+0)
35515 AND 252
35517 BIT 7,(IX+8)
35521 JR NZ,HandlerBatlet_88
35523 ADD A,2
HandlerBatlet_88 35525 LD C,A
35526 LD A,(IX+13)
35529 RRA
35530 AND 1
35532 ADD A,C
35533 LD (IX+0),A
35536 LD DE,(24093)
35540 LD (IX+5),66
35544 JP HandlerBatlet_24
HandlerBatlet_89 35547 LD HL,60184
35550 LD DE,8
35553 LD B,8
HandlerBatlet_90 35555 PUSH HL
35556 LD A,(HL)
35557 AND A
35558 JR Z,HandlerBatlet_91
35560 INC HL
35561 LD A,(HL)
35562 CP (IX+1)
35565 JR NZ,HandlerBatlet_91
35567 POP DE
35568 INC HL
35569 INC HL
35570 LD E,(HL)
35571 INC HL
35572 LD D,(HL)
35573 LD C,1
35575 RET
HandlerBatlet_91 35576 POP HL
35577 ADD HL,DE
35578 DJNZ HandlerBatlet_90
35580 LD C,0
35582 RET
35583 CALL StoreEntity
35586 CALL HandlerBatlet_39
35589 DEC E
35590 CALL Z,HandlerBatlet_81
35593 XOR A
35594 LD (IX+9),A
35597 LD (IX+8),A
35600 CALL HandlerBatlet_89
35603 DEC C
35604 JP NZ,HandlerBatlet_94
35607 CALL HandlerBatlet_60
35610 LD A,C
35611 CP 3
35613 JR NZ,HandlerBatlet_93
35615 CALL HandlerBatlet_89
35618 LD DE,4
35621 AND A
35622 SBC HL,DE
35624 PUSH IX
35626 LD IX,0
35630 EX DE,HL
35631 ADD IX,DE
35633 LD A,(60049)
35636 CP (IX+1)
35639 JR NZ,HandlerBatlet_92
35641 CALL DrawEntity
HandlerBatlet_92 35644 LD (IX+0),0
35648 POP IX
35650 JP HandlerBatlet_94
HandlerBatlet_93 35653 LD A,(IX+0)
35656 AND 252
35658 LD C,A
35659 LD A,(24082)
35662 RRA
35663 RRA
35664 AND 3
35666 ADD A,C
35667 LD (IX+0),A
35670 LD DE,15420
HandlerBatlet_94 35673 LD A,(60048)
35676 CP 49
35678 JP C,HandlerBatlet_24
35681 LD DE,14936
35684 CALL HandlerBatlet_60
35687 JP HandlerBatlet_24
Prev: 33521 Up: Map Next: 35690