Users browsing this thread: 1 Guest(s)
"Miss" in Battle

#8
Posts: 200
Threads: 1
Thanks Received: 10
Thanks Given: 0
Joined: Oct 2015
Reputation: 18
Status
None
ah.  while i don't normally work in graphics, some Ctrl+F'ing the Bank C1 disassembly:

Code:
C1/A510:    851E        STA $1E
C1/A512:    2940        AND #$40        (Isolate bottom bits)
C1/A514:    F01B        BEQ $A531        (Branch if not 'Miss' bit)
C1/A516:    C220        REP #$20        (Set accumulator to 16-bit)
C1/A518:    7B          TDC             (Clear accumulator)
C1/A519:    AA          TAX             (Copy accumulator to X register)
C1/A51A:    BF00BC7F    LDA $7FBC00,X           (Load 'Miss' graphic)
C1/A51E:    9DD360      STA $60D3,X        (Set as graphic to display)
C1/A521:    E8          INX             (Move to next two bits)
C1/A522:    E8          INX
C1/A523:    E04000      CPX #$0040        (Check graphic: is it 2 tiles?)
C1/A526:    D0F2        BNE $A51A        (If not, repeat until 2 tiles)
C1/A528:    7B          TDC             (Clear accumulator)
C1/A529:    E220        SEP #$20        (Set accumulator to 8-bit)
C1/A52B:    A908        LDA #$08        (Load #$08...)
C1/A52D:    8514        STA $14                 (...and set position to 8 pixels from the right)
C1/A52F:    8058        BRA $A589               (Skip numeral display routines)

so changing the "Miss" graphic address, the tile quantity loop bound, and possibly the "pixels from the right" value should (mostly) cover the assembly modifications.  now, i'm not sure whether there's free RAM after $6113 to fit the 2 extra tiles.  nor do i know why the Miss starts output at $60D3 and the damage numerals at $60B3; maybe try shifting this to the latter?

i'm not convinced this is compressed, but i know jack squat about graphics.
Quote  



Messages In This Thread
"Miss" in Battle - by Antamaru - 12-21-2017, 08:03 AM
RE: "Miss" in Battle - by Gi Nattak - 12-22-2017, 03:10 PM
RE: "Miss" in Battle - by assassin - 12-22-2017, 08:47 PM
RE: "Miss" in Battle - by CrumpledMedal - 12-23-2017, 05:52 PM
RE: "Miss" in Battle - by Antamaru - 12-25-2017, 06:27 AM
RE: "Miss" in Battle - by assassin - 12-25-2017, 02:30 PM
RE: "Miss" in Battle - by Antamaru - 12-26-2017, 10:10 AM
RE: "Miss" in Battle - by assassin - 12-26-2017, 02:50 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite