Routines |
Prev: 43936 | Up: Map | Next: 43998 |
Used by the routine at 64623.
|
||||
43950 | LD A,(23438) | If current disquise is not zero... | ||
43953 | OR A | ...i.e. a disquise is being worn... | ||
43954 | JP NZ,64290 | ...then display "YOU CANNOT [Current Command] THAT SPELL NOW..." window (12) and return to game | ||
43957 | LD HL,24898 | Load HL with address of Off-White Knight's current position data | ||
43960 | LD A,(23702) | If Magic Knight's current room is not the same as Off-White Knight's... | ||
43963 | CP (HL) | ... | ||
43964 | JP NZ,64290 | ...then display "YOU CANNOT [Current Command] THAT SPELL NOW..." window (12) and return to game | ||
43967 | LD A,(24840) | If Magic Knight's current x-coordinate (characters)... | ||
43970 | RRCA | ... | ||
43971 | RRCA | ... | ||
43972 | RRCA | ... | ||
43973 | AND 31 | ... | ||
43975 | INC HL | ... | ||
43976 | CP (HL) | ...is not the same as Off-White Knight's... | ||
43977 | JP NZ,64290 | ...then display "YOU CANNOT [Current Command] THAT SPELL NOW..." window (12) and return to game | ||
43980 | LD A,(23403) | If Off-White-Knight-sent-to-sleep flag is zero... | ||
43983 | OR A | ...i.e. Off-White has not yet been sent to sleep... | ||
43984 | JP Z,64290 | ...then display "YOU CANNOT [Current Command] THAT SPELL NOW..." window (12) and return to game | ||
43987 | LD C,99 | If Magic Knight's magic level is at least 99... | ||
43989 | CALL 44225 | ...then flash border and screen and decrease Magic Knight's magic level by 99... | ||
43992 | JP C,64290 | ...otherwise display "YOU CANNOT [Current Command] THAT SPELL NOW..." window (12) and return to game | ||
43995 | JP 44253 | Show "WELL DONE" screen, jumping to game over when fire is pressed |
Prev: 43936 | Up: Map | Next: 43998 |