Increase required AP to learn spells from espers
#1
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!
Reply
#2
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.
Reply
#3
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!
Reply
#4
My fault, this:
C3/5AC7: A9 B4 LDA #$B9

#$B4 is what it normally is, #$B9 is what you should change it to.
Reply
#5
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!
Reply
#6
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Espers teaching Stat gains Morendo 5 4,726 12-10-2020, 05:38 PM
Last Post: Bropedio
  Add learning new spells doofenH 11 9,013 02-13-2020, 08:02 PM
Last Post: C-Dude
  Casting Spells Taught by Espers - RESOLVED! Turbotastic 16 14,969 03-30-2018, 01:36 PM
Last Post: Turbotastic
  [Question] All character can learn natural magic? tsushiy 6 6,800 10-31-2016, 10:14 PM
Last Post: seibaby
  Espers: 1 set of spells KnightDude 7 6,866 07-10-2016, 10:14 AM
Last Post: KnightDude
  Increase the Learn Rate of Magic Fenrir 4 4,895 06-07-2016, 04:33 PM
Last Post: Tenkarider
  Is it possible to make a certain party required for an event? Jeff 4 4,634 03-16-2015, 07:57 PM
Last Post: Jeff
  Patch for making Espers unique to different PCs? officemonster 3 4,125 01-14-2015, 02:57 AM
Last Post: Synchysi
  A few questions regarding spells XFER 5 6,281 04-08-2014, 07:47 PM
Last Post: Cyprus
  Adding Espers? Royaken 3 3,815 03-24-2014, 08:29 PM
Last Post: Royaken

Forum Jump:


Users browsing this thread: 1 Guest(s)