Users browsing this thread: 1 Guest(s)
Edit GP Rain damage
Does GP rain do as damage the cost in GP for casting it? If it's the case you may only need to increase the #$1E to a higher value at the beginning of the special effect, but it will cost more GP.. You'll need to test this because I know little about the battle engine ad I'm not sure if this sole change will do the job..
Code:
Special effect $51
GP Rain
C2/3FB7: B9 18 3B LDA $3B18,Y (Attacker's Level)
C2/3FBA: EB XBA
C2/3FBB: A9 1E LDA #$1E (change this)
C2/3FBD: 20 81 47 JSR $4781 (attack will cost: Attacker's Level * 30)
C2/3FC0: C2 20 REP #$20 (Set 16-bit accumulator)
C2/3FC2: C0 08 CPY #$08
C2/3FC4: B0 0D BCS $3FD3 (Branch if attacker is monster)
C2/3FC6: 20 B6 37 JSR $37B6 (deduct thrown gold from party's inventory)
C2/3FC9: D0 1E BNE $3FE9 (branch if there was actually some GP to throw)
C2/3FCB: 64 A4 STZ $A4 (Makes attack target nothing)
C2/3FCD: A2 08 LDX #$08
C2/3FCF: 8E 01 34 STX $3401 (Set to display text 8 - "No money!!")
C2/3FD2: 60 RTS
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)