News:

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

Main Menu

Suit Collection Flash

Started by Mentlegen, September 18, 2017, 08:38:39 PM

Previous topic - Next topic

Mentlegen

It's easy to observe that the flash that appears onscreen when you collect the varia or gravity suit is very similar to the power bomb flash. I'm looking to edit the palette on these flashes as my hack will have suits different from the original colors.

I remember seeing a similar post a while back but i have no idea if new info has been discovered on this topic

Any idea where i could find an address to edit?

Quote58

#1
So, unlike the power bomb flash, the suit pickup flash doesn't use a colour table, it uses a few different colour values and transitions them to white.
This is where it's set up for varia:
$91D4EA A9 30         LDA #$30
$91D4EC 8D F0 0D    STA $0DF0  [$7E:0DF0]
$91D4EF A9 50         LDA #$50
$91D4F1 8D F1 0D    STA $0DF1  [$7E:0DF1]
$91D4F4 A9 80         LDA #$80
$91D4F6 8D F2 0D    STA $0DF2  [$7E:0DF2]
$91D4F9 9C F3 0D    STZ $0DF3  [$7E:0DF3]

And this is gravity:
$91D5C0 A9 30         LDA #$30
$91D5C2 8D F0 0D    STA $0DF0  [$7E:0DF0]
$91D5C5 A9 49         LDA #$49
$91D5C7 8D F1 0D    STA $0DF1  [$7E:0DF1]
$91D5CA A9 90         LDA #$90
$91D5CC 8D F2 0D    STA $0DF2  [$7E:0DF2]
$91D5CF A9 01          LDA #$01
$91D5D1 8D F3 0D    STA $0DF3  [$7E:0DF3]

Edit: Whoops, only did a preliminary check, looks like 71 is constantly set to 33, and the other 3 are the colour values for 74/5/6, so varia can in fact be changed normally by just changing F0/1/2

Mentlegen

Quote from: Quote58 on September 19, 2017, 12:12:50 AM
So, unlike the power bomb flash, the suit pickup flash doesn't use a colour table, it uses a few different colour values and transitions them to white.
This is where it's set up for varia:
$91D4EA A9 30         LDA #$30
$91D4EC 8D F0 0D    STA $0DF0  [$7E:0DF0]
$91D4EF A9 50         LDA #$50
$91D4F1 8D F1 0D    STA $0DF1  [$7E:0DF1]
$91D4F4 A9 80         LDA #$80
$91D4F6 8D F2 0D    STA $0DF2  [$7E:0DF2]
$91D4F9 9C F3 0D    STZ $0DF3  [$7E:0DF3]

And this is gravity:
$91D5C0 A9 30         LDA #$30
$91D5C2 8D F0 0D    STA $0DF0  [$7E:0DF0]
$91D5C5 A9 49         LDA #$49
$91D5C7 8D F1 0D    STA $0DF1  [$7E:0DF1]
$91D5CA A9 90         LDA #$90
$91D5CC 8D F2 0D    STA $0DF2  [$7E:0DF2]
$91D5CF A9 01          LDA #$01
$91D5D1 8D F3 0D    STA $0DF3  [$7E:0DF3]

Edit: Whoops, only did a preliminary check, looks like 71 is constantly set to 33, and the other 3 are the colour values for 74/5/6, so varia can in fact be changed normally by just changing F0/1/2

Hey thanks! one question: would i edit these values in a hex editor or in the RF tab "im a genius" ?