Users browsing this thread: 1 Guest(s)
wolfokami's endless question thread...

#1
Posts: 36
Threads: 6
Thanks Received: 0
Thanks Given: 5
Joined: Aug 2014
Reputation: 0
Status
None
Ok due to the recent complaints in the shoutbox i am asking all future questions here.


1.How do i add defense as a stat to be added at level up in this asm.
Code:
hirom   ; don't change this
header  ; comment out if your rom has no header

org $C260D0  ; location in both SNES versions
; org $C260B8  ; location in SFC/Japanese version
JSL $C0D814

org $C0D814
PHX
PHY
REP #$20
LDA $08,S  ; get our original index, we need it to look at the right stat for the right character
TAY
SEP #$20
LDA $161A,Y  ; time for a strength boost
CLC
ADC str_table,X  ; add the value for this level
CMP #$81  ; 129 or higher?
BCC str_skip
LDA #$80  ; cap at 128
str_skip:
STA $161A,Y  ; new strength
LDA $161B,Y  ; time for an agility boost
CLC
ADC agi_table,X  ; add the value for this level
CMP #$81  ; 129 or higher?
BCC agi_skip
LDA #$80  ; cap at 128
agi_skip:
STA $161B,Y  ; new agility
LDA $161C,Y  ; time for a stamina boost
CLC
ADC sta_table,X  ; add the value for this level
CMP #$81  ; 129 or higher?
BCC sta_skip
LDA #$80  ; cap at 128
sta_skip:
STA $161C,Y  ; new stamina
LDA $161D,Y  ; time for a magic boost
CLC
ADC mag_table,X  ; add the value for this level
CMP #$81  ; 129 or higher?
BCC mag_skip
LDA #$80  ; cap at 128
mag_skip:
STA $161D,Y  ; new magic
PLY
PLX
TDC
LDA $E6F500,X  ; get MP growth
RTL

; the four tables for strength, magic, agility, and stamina. change these zeroes to your heart's content
; if you wish to subtract for whatever reason, just think of these as signed values.

str_table:
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 0-19
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 20-39
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 40-59
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 60-79
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 80-99

agi_table:
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 0-19
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 20-39
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 40-59
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 60-79
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 80-99

sta_table:
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 0-19
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 20-39
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 40-59
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 60-79
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 80-99

mag_table:
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 0-19
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 20-39
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 40-59
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 60-79
DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 ; levels 80-99

2. Can someone make an ips or asm that allows you to ride a magitek vehicle at anytime including entering and exiting the ones in the begginning?

3. How do you change the steal rate with the theif knife and or how do you adjust the stealability rate one monsters?

4. Can someone make a script that removes all spells on dequipping of any hat or sheild?

5. Can that same script make it so you learn the associated spell as soon as you equip it and not after battle?
  Find
Quote  

#2
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
2) To my knowledge, this can only be done via events (command #44) or by setting the vehicle value for an NPC.

3) The steal formula is at C2/399E. It's the same formula for all possible kind of steals. By changing the value at C2/39DC, you can have a lower or higher rare drop chance but the addition with the common value will always be 100% (like 1/16 with 15/16).
  Find
Quote  

#3
Posts: 36
Threads: 6
Thanks Received: 0
Thanks Given: 5
Joined: Aug 2014
Reputation: 0
Status
None
Thanks for the steal rate answer!
unfortunately there is another issue


6. Why does my edited whelk enemy now pikachu keep flashing the screen and drops thunderblade? i cant figure it out for the life of me.

i made it so it drops absolutely nothing both shell and head i also changed the pack so just the shell(pikachu) is in the group:
the enemy script for whelk has been changed to look like this.
Text:"chuuu"
Rand. spell: Battle or bolt or bolt
End if and reset targeting
end first wave of attack
if monster attacked by spell bolt or bolt beam will target attacker
Mega volt
End if reset targeting
End

The head script is now just this
End first wave of attack
End
  Find
Quote  

#4
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
I recall something similar happened to me, when dealing with presenter(still not sure it might be your case)... i used it's AI alone somewhere and, as soon as he received the attack, the boss death was triggered: in my case because the two parts are bounded from their battlescript... consider to check their AI and edit/tweak/remove the part in which says something like:

If (the other monster) is dead -> dies like a boss.

About still dropping that item... what if you accidentally duplicated that formation/monsters, and left the wrong copies in the bossfight formation?


THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
  Find
Quote  

#5
Posts: 36
Threads: 6
Thanks Received: 0
Thanks Given: 5
Joined: Aug 2014
Reputation: 0
Status
None
i will see
7. when using tile molester and yy chr it occasionally garbles my sprites to where i cant edit them and if i save it fucks my whole rom up. why are both programs sometimey with the rom

6. is fixed thanks very much! there was a presence checked on an empty slot lol
  Find
Quote  

#6
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
Oh, cool... so i was right! Wink


THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
  Find
Quote  

#7
Posts: 36
Threads: 6
Thanks Received: 0
Thanks Given: 5
Joined: Aug 2014
Reputation: 0
Status
None
7. solved aswell dont use an unheadered rom in a tile editor
  Find
Quote  

#8
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
1) Defense and magic defense are values calculated from the equipment stats (C2/105D). They are after used in the damage modification function (C2/0C9E). If you want any of those as permanent stats you can increase, you have to save them, by using some free SRAM.

Edit: Four of your initials questions are requests. I don't have the free time to fulfill any of those.
  Find
Quote  

#9
Posts: 36
Threads: 6
Thanks Received: 0
Thanks Given: 5
Joined: Aug 2014
Reputation: 0
Status
None
8. How does someone create an ips file from a .txt file containing ips formatted text ex.

C2/XXXX XX YY ZZ etc..
  Find
Quote  

#10
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
If i understood, you want to create a patch for your hack, right?
Do a favor to yourself, and just download Lunar IPS, it allows you to create/apply patch in a snap, you really cannot do a mistake with it.


THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite