Some final code requests (and screenshots)
#90
(10-03-2018, 11:56 AM)Warrax Wrote: If anyone care to explain or have a guide to share.

Code:
$B3 vgrm?ucb
        v: ignore vanish
        g: gauntlet is equipped ??? (Bat.Pwr *= 7/4)
        r: ignore attacker row
        m: ignore damage multiplier
        u: don't retarget, undead attack ???
        c: automatic critical hit ??
        b: blitz input failed

This is only a way to differentiate the bits, see vgrm?ucb as 76543210 (8 bits on a byte, reading from right to left). Each bit from right to left have a value of #$01, #$02, #$04, #$08, #$10, #$20 and #$40. So if you want to set two flags, like auto critical (#$02) and ignore attacker row (#$20), you do #$20 + #$02 = #$22. Setting all flags of the bytes would be LDA #$FF. TSB will set those flags to the byte while TRB would clear those flags.
Reply


Messages In This Thread
RE: Some final code requests (and screenshots) - by madsiur - 10-03-2018, 01:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Final Requests for Help PowerPanda 54 33,711 05-15-2021, 11:36 AM
Last Post: MysticLord
Dark Knight FF6 SNES vs GBA code differences? Royaken 2 2,590 11-01-2019, 07:32 PM
Last Post: Royaken
  ASM Requests Gi Nattak 51 56,362 12-06-2016, 12:31 AM
Last Post: dn
  asm hacking: "faking" short jumps from your code (in a new bank) to old code Eggers 2 3,912 04-16-2016, 07:18 PM
Last Post: madsiur
  Magic Control Code sleepydude 16 14,317 09-19-2015, 02:41 PM
Last Post: Tenkarider
  Sprite Armor Code Royaken 2 3,577 05-30-2015, 11:26 AM
Last Post: Catone
  FF6LE Requests & Suggestions Zeemis 1 2,828 03-02-2012, 02:35 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)