Users browsing this thread: 1 Guest(s)
Edit GP Rain damage

#2
Posts: 3,971
Threads: 279
Thanks Received: 238
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
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
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • doofenH (01-02-2020)



Messages In This Thread
Edit GP Rain damage - by doofenH - 01-01-2020, 12:29 AM
RE: Edit GP Rain damage - by madsiur - 01-01-2020, 09:40 PM
RE: Edit GP Rain damage - by C-Dude - 01-01-2020, 10:43 PM
RE: Edit GP Rain damage - by Subtraction - 01-02-2020, 01:40 AM
RE: Edit GP Rain damage - by doofenH - 01-02-2020, 11:56 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite