Skip to content

Instantly share code, notes, and snippets.

@JonathanLafey
Created October 28, 2021 09:14
Show Gist options
  • Save JonathanLafey/d3cb5b5757e1876b9a8490df498020c5 to your computer and use it in GitHub Desktop.
Save JonathanLafey/d3cb5b5757e1876b9a8490df498020c5 to your computer and use it in GitHub Desktop.
Script to maximize gill in FF8
; REQUIREMENTS:
; 1. Install https://www.autohotkey.com/
; 2. Make sure you have all the Tonberry's shop abilities
; 3. Make sure that you have the "Esthar Shop!!!"
; 4. Have the 3 first slots on your inventory empty and no stock of Tent, Cottage or Mega-Potion.
; 5. Review the steps and adjust the Up or Down repetitions if you the position of your abilities or the amount of shops differ.
; HOW TO RUN:
; Start from the "Call Shop" ability with the "Esthar Shop!!!" selected
; Run this script with ctrl + j
^j::
; Loop for as many times as you require
Loop, 100
{
Sleep, 1000
SetKeyDelay, 50, 50
Send, {x down}{x up}
Sleep, 1000
;SetKeyDelay, 100, 100
Send, {x down}{x up}
Sleep, 500
;SetKeyDelay, 100, 100
Send, {Right down}{Right up}
Sleep, 100
; Navigate to Tents
Loop, 5
{
Send, {Down down}{Down up}
}
; Buy 100 Tents
Send, {x down}{x up}
Loop, 10
{
Send, {Up down}{Up up}
}
Send, {x down}{x up}
; Navigate to Cottage
Sleep, 100
Send, {Down down}{Down up}
; Buy 100 Cottages
Send, {x down}{x up}
Loop, 10
{
Send, {Up down}{Up up}
}
Send, {x down}{x up}
; Exit the shop and got to Recov Med-RF
Sleep, 100
Loop, 3
{
Send, {c down}{c up}
Sleep, 500
}
Send, {Right down}{Right up}
Sleep, 100
Send, {Down down}{Down up}
Sleep, 100
Loop, 3
{
Send, {Up down}{Up up}
}
Send, {x down}{x up}
Sleep, 1000
; Refine the Tents and Cottages to Mega-Potions
Send, {x down}{x up}
Sleep, 200
Loop, 3
{
Send, {Down down}{Down up}
}
Send, {x down}{x up}
Sleep, 200
Send, {Down down}{Down up}
Sleep, 200
Send, {x down}{x up}
Loop, 5
{
Send, {Down down}{Down up}
}
Send, {x down}{x up}
Sleep, 200
; Go to Call Shop
Send, {c down}{c up}
Sleep, 1000
Send, {Left down}{Left up}
Sleep, 200
Loop, 2
{
Send, {Down down}{Down up}
}
Send, {x down}{x up}
Sleep, 200
Send, {x down}{x up}
Sleep, 500
Send, {Right down}{Right up}
Sleep, 100
Send, {x down}{x up}
Sleep, 500
; Sell the Mega-Potions
Loop, 2
{
Send, {Down down}{Down up}
}
Send, {x down}{x up}
Loop, 8
{
Send, {Up down}{Up up}
}
Send, {x down}{x up}
Send, {c down}{c up}
Sleep, 300
Send, {c down}{c up}
; End of transaction
}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment