Prev: 33932 Up: Map Next: 33993
33935: Command-character-to-help routine for Samsun
Used by the routine at 31842.
33935 LD A,169 Set last character of "[CHARACTER] CANNOT HELP YOU..." text to 169 ("HERE")...
33937 LD (46710),A ...
33940 LD A,(65529) If Magic Knight is not at The Pit...
33943 CP 46 ...
33945 JP NZ,34514 ...then display "SAMSUN CANNOT HELP YOU" window and exit
33948 LD A,(23411) If Platform-thrown-into-pit flag is set...
33951 AND 16 ...
33953 JP NZ,33875 ...then display "THERE IS NOTHING MORE THAT SAMSUN CAN DO TO HELP YOU HERE" window and exit
33956 LD A,(23411) Set Platform-thrown-into-pit flag...
33959 OR 16 ...
33961 LD (23411),A ...
33964 LD HL,25420 Point HL to start of Samsun's current inventory...
33967 LD B,5 Remove Platform from Samsun's inventory...
33969 LD C,29 ...
33971 CALL 38674 ...
33974 LD HL,25551 Set the Platform's current location...
33977 LD (HL),46 ...as being at The Pit...
33979 INC HL ...
33980 LD (HL),15 ...at x = 15...
33982 INC HL ...
33983 LD (HL),11 ...y = 11
33985 LD HL,44583 Display "GOOD OLD SAMSUN HAS THROWN A PLATFORM..." window...
33988 LD A,24 ...
33990 JP 34768 ...and return to game
Prev: 33932 Up: Map Next: 33993