Users browsing this thread: 3 Guest(s)
Need Some Help

#19
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
There's a few things to consider, I think I got them all removed in code below. Download xkas, copy the content of the code block below in a text file and rename the file "sketch.asm", edit the spell ID at beginning of file, save the file in same folder as xkas. Make sure your ROM has no header and use windows command prompt to type:

xkas sketch.asm romname.smc

I tested the compilation so the ASM file is good but I'm not sure if it will be bug or crash free in-game. You can go look in banks $C2 and search "sketch" and you will find the place of each org instruction (which go on an offset and write the new code). I find working with an assemebler a lot better than dealing with a hex editor and hex commands, it's a better practice in general unless you edit 1 or 2 bytes..

Edit: I added optional stuff for Control but for now it will no be executed unless you uncomment the code.

Code:
hirom

!sketch_spell    = #$00      ;change for whatever spell ID in hexadecimal, like 00 is Fire here

;-------------------------------------------------------------------------------
; sketch
;-------------------------------------------------------------------------------
org $C2151F
    LDA !sketch_spell   ; load sketch spell
    JMP $1712

org $C23E77
dw $388C                ; point sketch special effect to RTS

org $C25454
dw $00                  ; remove Sketch as command to be replaced by another one (Control)
                        ; this just set entry as being Fight command which is already there
                        
org $C22C21
BRA .continueA          ; skip sketcher check

org $C22C28
.continueA

org $C231EC
BRA .continueB          ; skip sketcher check

org $C231F2
.continueB

;-------------------------------------------------------------------------------
; Control
;-------------------------------------------------------------------------------
; remove ";" from the beginning of the two line below to enable
;org $C23E73
;dw $388C               ; point control special effect to RTS

; remove ";" from the beginning of the two line below to enable
;org $C25459
;dw $16                 ; remove Control as command to be replaced by another one (Sketch)
                        ; this just set entry as being Jump command which is already there
  Find
Quote  



Messages In This Thread
Need Some Help - by ShadowDreamer - 03-18-2018, 11:46 AM
RE: Need Some Help - by madsiur - 03-18-2018, 11:55 AM
RE: Need Some Help - by ShadowDreamer - 03-18-2018, 12:13 PM
RE: Need Some Help - by PowerPanda - 03-19-2018, 12:11 PM
RE: Need Some Help - by ShadowDreamer - 03-19-2018, 07:29 PM
RE: Need Some Help - by PowerPanda - 03-19-2018, 07:49 PM
RE: Need Some Help - by madsiur - 03-19-2018, 08:34 PM
RE: Need Some Help - by ShadowDreamer - 03-20-2018, 07:49 AM
RE: Need Some Help - by Robo Jesus - 03-21-2018, 05:13 AM
RE: Need Some Help - by madsiur - 03-21-2018, 07:20 AM
RE: Need Some Help - by Robo Jesus - 03-21-2018, 08:58 AM
RE: Need Some Help - by PowerPanda - 03-21-2018, 09:55 AM
RE: Need Some Help - by PowerPanda - 03-20-2018, 11:56 AM
RE: Need Some Help - by Robo Jesus - 03-21-2018, 11:58 AM
RE: Need Some Help - by madsiur - 03-21-2018, 12:40 PM
RE: Need Some Help - by ShadowDreamer - 03-21-2018, 06:18 PM
RE: Need Some Help - by madsiur - 03-21-2018, 08:09 PM
RE: Need Some Help - by ShadowDreamer - 03-22-2018, 05:57 AM
RE: Need Some Help - by madsiur - 03-22-2018, 01:03 PM
RE: Need Some Help - by ShadowDreamer - 03-23-2018, 07:09 AM
RE: Need Some Help - by madsiur - 03-23-2018, 07:43 AM
RE: Need Some Help - by Robo Jesus - 03-25-2018, 10:46 AM
RE: Need Some Help - by madsiur - 03-25-2018, 12:18 PM
RE: Need Some Help - by ShadowDreamer - 03-30-2018, 04:18 PM
RE: Need Some Help - by madsiur - 03-30-2018, 08:31 PM
RE: Need Some Help - by madsiur - 04-03-2018, 11:00 PM
RE: Need Some Help - by ShadowDreamer - 04-14-2018, 11:17 PM
RE: Need Some Help - by ShadowDreamer - 04-19-2018, 02:14 AM
RE: Need Some Help - by madsiur - 04-19-2018, 02:29 AM
RE: Need Some Help - by ShadowDreamer - 04-19-2018, 10:55 PM
RE: Need Some Help - by ShadowDreamer - 06-08-2018, 12:49 AM
RE: Need Some Help - by dn - 06-08-2018, 09:38 AM
RE: Need Some Help - by GrayShadows - 06-08-2018, 03:00 PM
RE: Need Some Help - by ShadowDreamer - 06-08-2018, 06:11 PM
RE: Need Some Help - by GrayShadows - 06-14-2018, 12:05 PM

Forum Jump:

Users browsing this thread: 3 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite