9076: Action Shoot
Action_Shoot |
9076 |
LD A,$19 |
|
9078 |
CALL $9C7B |
|
907B |
LD HL,$B121 |
|
907E |
JP NC,PrintMsg |
|
9081 |
CALL $914A |
|
9084 |
CALL $9D44 |
|
9087 |
LD A,$0F |
|
9089 |
LD ($B6E7),A |
|
908C |
LD A,($B6EA) |
|
908F |
CP $46 |
|
9091 |
JR Z,Action_Shoot_0 |
|
9093 |
LD A,($B6E8) |
|
9096 |
CP $3C |
|
9098 |
LD HL,$B127 |
|
909B |
JP Z,PrintMsg |
|
909E |
LD A,$08 |
|
90A0 |
CALL GetRandomNum |
|
90A3 |
CP $03 |
|
90A5 |
JP C,PrintMsg |
Action_Shoot_0 |
90A8 |
LD IX,$C4EA |
|
90AC |
LD A,($B6E8) |
|
90AF |
CP $1A |
|
90B1 |
JR Z,Action_Shoot_1 |
|
90B3 |
LD (IX+$01),$FF |
Action_Shoot_1 |
90B7 |
LD HL,$B136 |
|
90BA |
CALL PrintMsg |
|
90BD |
LD IX,($B708) |
|
90C1 |
CALL DisplayExits_10 |
|
90C4 |
JP NZ,Action_Attack_17 |
|
90C7 |
LD A,($B6E8) |
|
90CA |
CALL $977F |
|
90CD |
LD A,$06 |
|
90CF |
JP DisplayExits_3 |