News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] Gold Torizo Woes

Started by dewhi100, June 10, 2018, 10:27:03 PM

Previous topic - Next topic

dewhi100

Gold Torizo is just sitting around on the floor in an invulnerable, semi-uncrouched, not-yet-gold-colored state. What did I break?

Also, is it possible to change the areas that Torizos live in? I assume both Torizos couldn't share the same area and still have different AI, but could I move either of them to Wrecked Ship, or Brinstar? Just for the purposes of their rooms showing properly on the maps.

Smiley

GT is really sensitive about the Y position he lands on - it's pixel perfect. Probably the easiest fix is to go to $AA:CAD4 and change F0 (BEQ) to 10 (BPL), that way GT should activate properly on any point lower than vanilla. Here's the relevant code from PJ's logs:
$AA:CACE BD 7E 0F    LDA $0F7E,x[$7E:0F7E]
$AA:CAD1 C9 77 01    CMP #$0177
$AA:CAD4 F0 05       BEQ $05    [$CADB]

You can of course also change the CMP value if you wish.

dewhi100

That worked, thanks Smiley.