Created
November 17, 2018 01:09
-
-
Save HS39/8a3aa580a4c3a84f3f2ba907a608b609 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asm65816 | |
import ASMRef | |
define Lifeup_A_Power = 100 | |
define Lifeup_B_Power = 300 | |
define Lifeup_G_Power = 10000 | |
define Lifeup_O_Power = 400 | |
Lifeup_General: { | |
REP (0x31) | |
TAX | |
JSL (Mult_A_x_Rand_075_125) | |
TAX | |
LDA_a (0xA972) //Loads Current target to Accumulator | |
JSL (Recover_HP) | |
RTL | |
} | |
Lifeup_Alpha: { | |
REP (0x31) | |
LDA_i (Lifeup_A_Power) //Loads number to Accumulator | |
JSL (Lifeup_General) | |
RTL | |
} | |
Lifeup_Beta: { | |
REP (0x31) | |
LDA_i (Lifeup_B_Power) //Loads number to Accumulator | |
JSL (Lifeup_General) | |
RTL | |
} | |
Lifeup_Gamma: { | |
REP (0x31) | |
LDA_i (Lifeup_G_Power) //Loads number to Accumulator | |
JSL (Lifeup_General) | |
RTL | |
} | |
Lifeup_Omega: { | |
REP (0x31) | |
LDA_i (Lifeup_O_Power) //Loads number to Accumulator | |
JSL (Lifeup_General) | |
RTL | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment