Users browsing this thread: 1 Guest(s)
"Miss" in Battle
12-26-2017, 02:50 PM
ah. while i don't normally work in graphics, some Ctrl+F'ing the Bank C1 disassembly:
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.
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.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)