Language…
4 users online:  BeeKaay, E623, Guido_Keller, krizeth - Guests: 238 - Bots: 353
Users: 64,795 (2,377 active)
Latest user: mathew

Tsutarja's Cherbil issue: Timing of ice cherbil

THIS

I have an issue with the Tsutarja's cherbil: It's about effectgen.
Reminding that $18BD can stun the player. I wanted that stun player be a little shorter and i found this:

Code
Frozen:
LDA $14AC
STA $18BD
BEQ stzstate
STZ $7B
STZ $7D
RTS


How can i solve this?
That's my problem...
...I dont get it. What exactly are you having problems with?


Originally posted by Tsutarja
...I dont get it. What exactly are you having problems with?


I think he wants to shorten the stun time. You could do something like this:

Code
Frozen:
LDA $14AC
LSR
STA $18BD
BEQ stzstate
STZ $7B
STZ $7D
RTS


Or... if you want to subtract:

Code
Frozen:
LDA $14AC
SEC : SBC #$xx ; Change this to something between $00-$7F - preferably small values
BPL +
LDA #$00
+ STA $18BD
BEQ stzstate
STZ $7B
STZ $7D
RTS






Dream team (feed them, please):