Prev: 45227 Up: Map Next: 45333
45256: Command-character-to-help routine for Robin of Shylock
Used by the routine at 64623.
45256 LD A,(23439) If Robin-has-been-paid flag is set...
45259 AND 1 ...
45261 JR NZ,45269 ...then skip ahead to 45269
45263 LD HL,51588 Point HL at "[Current Character's short name] SAYS "I WILL REQUIRE A GOLDEN EGG..."" text
45266 JP 64301 Display "[Character] SAYS "I WILL REQUIRE A GOLDEN EGG..."" window (24) and return to game
45269 LD A,(23702) If Magic Knight's current room is not 3...
45272 CP 3 ...(Outdoors, 2, Beware Bearwoolf)...
45274 JP NZ,64285 ...then display "[Character] CANNOT HELP YOU" window (29) and return to game
45277 LD A,3 Set the Teddy Bear's current room to 3...
45279 LD (24934),A ...
45282 LD HL,59012 Set room layout data pointer for room 3 to 59012...
45285 LD (58847),HL ...i.e. exclude Grunter graphic from room layout
45288 LD A,255 Set Bearwoolf-removed flag...
45290 LD (40605),A ...
45293 LD C,23 Remove Silver Arrow from Robin's current inventory...
45295 LD B,5 ...
45297 LD HL,24868 ...
45300 CALL 48341 ...
45303 LD HL,24991 Set Silver Arrow's current room to 3...
45306 LD (HL),3 ...
45308 INC HL Set Silver Arrow's x-coordinate to 14...
45309 LD (HL),14 ...
45311 INC HL Set Silver Arrow's y-coordinate to 22...
45312 LD (HL),22 ...
45314 LD A,(23446) Add 20 to bonus score...
45317 ADD A,20 ...
45319 LD (23446),A ...
45322 LD A,99 Set Grunter's current room to 99...
45324 LD (24919),A ...
45327 LD HL,51619 Point HL at "BRAVE [Current Character's short name] HAS SHOT BEARWOOLF..." text
45330 JP 64301 Display "BRAVE [Character] HAS SHOT BEARWOOLF..." window (24) and return to game
Prev: 45227 Up: Map Next: 45333