LoROM ;//[IF NOT USING HACKMODE PATCH, REMOVE ALL CODE INVOLVING $D808] ;//[IF USING SYLANDRO DIFFICULTY PATCH, YOU'LL HAVE TO TYPE SOME CODE (negative=easy/zero=normal)] ;================================================================================================; ;//[this makes the head move for all projectile types] org $A9B596 AND #$0000 ;//vanilla #$0007 beam check ;//[samus hyper beam from mother brain routine] ;//[normal mode mb full missile, full super / hack mode mb half missile, half super] org $91E5F0 ;//($1C bytes) LDA $09C8 ;//max missiles STA $09C6 ;//missiles LDA $09CC ;//max supermissiles STA $09CA ;//supermissiles LDA $7ED808 ;//difficulty check BEQ END ;//branch if normal mode LSR $09C6 ;//half missile hard mode LSR $09CA ;//half supermissile hard mode END: RTS NOP : NOP : NOP ;//[mother brain hyper beam] org $A9BA2D JSR MBHYPER ;//freespace ;//[freespace @ 14FB70] org $A9FD00 ;//($1A bytes) MBHYPER: LDA $7ED808 ;//difficulty check BEQ NRM1 ;//branch if normal mode LDA #$01C2 ;//450 damage BRA CHECK NRM1: LDA #$012C ;//#$012B = 299 vanilla damage CHECK: PHA ;//get out the way LDA $7ED808 ;//difficulty check BEQ NRM2 ;//branch if normal mode PLA RTS ;//return NRM2: PLA ;//bring it back LSR A ;//soften the blow RTS ;//return