Users browsing this thread: 1 Guest(s)
Increase required AP to learn spells from espers

#1
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
Hi! i edited the hex code to make require 255% for learning a spell, instead of 100% the problem is that it's displayed in an ugly way:
As soon as it reaches 100% it returns to 0%, that happens a second time and finally when it reaches 55% the spell is learnt... Finger

Example:
1) The percentage is 94%
2) I get 10 AP;
3) Now it's displayed 6% on the screen (the actual value is 104%)
4) After 2 cycles(> 200%) at 55% i learnt the spell.

What i want to know is... what/where i need to edit to being able to display as percentage value numbers above 100% ? (101% to 255%)


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  

#2
Posts: 52
Threads: 5
Thanks Received: 24
Thanks Given: 0
Joined: Jun 2010
Reputation: 6
Status
None
Code:
C3/5027: A0 0C 00       LDY #$000C    Needed to clear the now further over '%' for blank spots

C3/5073: 4C A6 5A       JMP $5AA6    Abuse the now modified code for space saving

C3/50A0: 80 DD          BRA $507F    Need to clear the now further over '%' for non-blank spots

C3/5AA3: 20 E0 04       JSR $04E0    This block is what actually adds the third digit
C3/5AA6: A5 F7          LDA $F7
C3/5AA8: 8D 80 21       STA $2180
C3/5AAB: EA             NOP
C3/5AAC: EA             NOP

C3/5AC2: A9 B6          LDA #$B6    This block is for learned spells % display
C3/5AC4: 8D 80 21       STA $2180
C3/5AC7: A9 B9          LDA #$B9    Changed this way would show 255%
C3/5AC9: 8D 80 21       STA $2180
C3/5ACC: 8D 80 21       STA $2180
C3/5ACF: 80 E6          BRA $5AB7

I believe this covers everything, let me know if there are any issues.
Quote  

#3
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
While i'm learning the spell, the percentage rises until 254%
But when i learn the spell then all learnt spell show 200%, in the screen which shows which spells an esper can teach you... what coult it be?


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  

#4
Posts: 52
Threads: 5
Thanks Received: 24
Thanks Given: 0
Joined: Jun 2010
Reputation: 6
Status
None
My fault, this:
C3/5AC7: A9 B4 LDA #$B9

#$B4 is what it normally is, #$B9 is what you should change it to.
Quote  
[-] The following 1 user says Thank You to Drakkhen for this post:
  • Tenkarider (01-20-2015)

#5
Posts: 1,633
Threads: 56
Thanks Received: 13
Thanks Given: 84
Joined: Apr 2014
Reputation: 12
Status
Atma
Yup, now it works! Wink

Thanks for help, i'll credit you for this in my CotG hack.
PS. there's no risk that this code might change anything else, right? (unwanted changes, i mean...)


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  

#6
Posts: 52
Threads: 5
Thanks Received: 24
Thanks Given: 0
Joined: Jun 2010
Reputation: 6
Status
None
Quote:PS. there's no risk that this code might change anything else, right? (unwanted changes, i mean...)
Correct, to the best of my knowledge and testing nothing else should be affected by these changes.
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite