I implemented a feature like this recently, so here's the hex for it + additional notes:
#Adjustment of in-battle Draw
# 09 7E 05 B8 09 (Default: 9 max per draw)
# 01 7E 05 B8 64 (Draw 100 so long as 1+ is drawn)
# 09 7D 05 B8 09 (Draw minimum of 9, no upper cap - changes jump type to greater/equal)
8FE00 = 09 7D 05 B8 09
So the first set of values is the default hex, what the game does is it checks if your Draw was over 9 and sets it to 9 if this check returns true. The 2nd set is to make the game draw 100 every time you draw successfully (changes check to 1, and sets value drawn to 100/64h).
The 3rd set is what I'm currently using for FF8 NT, it flips the check so that it looks for Draws below 9 and sets it to 9 as a minimum; this means that the player will always draw 9 but can draw above this (10-100) depending on how high their magic stat is.
So whichever you'd want to use, you'd replace the 8FE00 = ?? with the desired hex. I think for removing the upper cap you'd want to set the check value to 64 or something so:
8FE00 = 64 7E 05 B8 64
If that doesn't work, then use 01 7D 05 B8 01
For implementation, I'm using DLPB's Hexttools which contains a few methods of patching an .exe with new hex. I use Hextedit which involves putting a notepad file with valid hext instructions into the HE_IN folder and dropping a FF8.exe into the Hextedit folder. When I want to run the notepad and patch an .exe, I double-click the hextedit application and it'll read any notepad files contained within the HE_in folder.
Here's a sample of a hextedit notepad file, typically you'll have the target file name written at the top of it with notes/comments written with a # and actual .exe addresses with the desired hex written in: https://pastebin.com/wySn42YE
What the hex translates to can be seen if you have a tool like cheat engine to attach to the game process while it's running. Add +400000 to the address (so 48FE00) and you'll be able to look more directly at the assembly code for the Draw value check.
I wrote the notepad file inside the FINAL FANTASY VIII\HL_Files\Hext_in named
drawhext.txt, when I open the game the log says:
Line 9 (DrawHext.txt): Could not write to memory.Line 9 would be the
8FE00 = XX XX XX.... and all the three codes present was Drawing 9 fixed amount each time
Am I doing something wrong? This is what I wrote inside the
drawhext.txt:
A:\Steam\steamapps\common\FINAL FANTASY VIII\FF8_EN.exe
#Insert the name/location of the .exe to be patched above
#Example: D:\Steam\steamapps\common\FINAL FANTASY VIII\FF8_EN.exe
#Adjustment of in-battle Draw
# 09 7E 05 B8 09 (Default: 9 max per draw)
# 01 7E 05 B8 64 (Draw 100 so long as 1+ is drawn)
# 09 7D 05 B8 09 (Draw minimum of 9, no upper cap - changes jump type to greater/equal)
8FE00 = 09 7D 05 B8 09
EDIT:But of course.... I was testing out with early game levels, when I tried with a LV40+ save it goes from 9 to 18 draw amount.
Its working, but the error
Line 9 (DrawHext.txt): Could not write to memory. still shows up, it wont make any problems right?