!Timer = $Address1 ;| !Check = $Address2 ;| Change these into actual addresses and non-random values !Startup = #$02 ;| !Enoughcharge = #$08 ;| !Gpose = #$12 ;| !Apose = #$56 ;| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Hijack Fireball Routine] LDA $19 CMP #$03 BEQ Continue JMP Kthxbye Continue: [Check if controller buttons X or Y are being pressed and held; -if pressed, but not held; ·Execute normal fireball code JMP Kthxbye -BUT if pressed AND held; STZ !Timer STZ !Check Check ends] [As long as the buttons are being held; Loop1: INC !Timer LDA !Timer CMP !Startup BMI Loop1 Loop2: INC !Timer LDA $14 AND #$04 ;SFX and flashing palettes here, too lazy to put it in a skeleton code LDA !Timer CMP !Enoughcharge BMI Loop2 Fullcharge: LDA #$01 STA !Check LDA $14 AND #02 ;SFX and flashing palettes faster here, still too lazy Buttons released!] LDA !Charge ;Has the fireball finished charging? CMP #01 BEQ Yes JMP Kthxbye Yes: LDA $74 ;Mario, don't shoot fire and climb at the same time! CMP #$00 BEQ Yess JMP Kthxbye Yess: [Sliding check, if not sliding go to YES, otherwise; ;Sliding and shooting at the same time is a big no-no in britain JMP Kthxbye ] YES: LDA $73 ;What are you going to fire at, the ground? CMP #$00 BEQ YESS JMP Kthxbye YESS LDA $1470 ;Silly, you can't fire with your hands full! CMP #$00 BEQ YESSS JMP Kthxbye YESSS: LDA $148F ;Seriously, you can't! CMP#$00 BEQ YESSSS JMP Kthxbye YESSSS: LDA $1874 ;YOSHI DON'T NEED NO FIREBALL! YOSHI STRONGEST THERE IS! CMP #$00 BEQ Isitoveryet JMP Kthxbye Isitoveryet: LDA $0072 CMP #$00 BNE Itsaplane LDA !GPose STA $13E0 [Sound!] BRA Finally Itsaplane: LDA !APose STA $13E0 [Same sound!] BRA Finally Finally: [Shoot ONE yoshi fireball! If possible and not incredibly difficult, make it interact like the normal fireball with blocks and sprites] Kthxbye: RTL ;God, is this over yet?