The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




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  



Messages In This Thread
wolfokami's endless question thread... - by wolfokami321 - 11-15-2014, 03:56 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite