Hi, link for Pokemon Emerald Lua script for VBA is below.
This is version 1.2
I've only made it to the 8th gym. I'm assuming it's possible to get to the league with the script.
Path finder is unreliable after Lilycove City, it can’t handle water nor dive areas so you need to get around by trial and error, plus the maps have been designed in a way where if you follow pathfinder you go to the next map, but it’s a trap and you need to go back and go through a different way.
Below is a quick readme
all keys from PCA are present
The T key in Lua script no longer reads text on screen, it just reads dialogue message on screen.
Below are features I added that you can ignore.
Shift + R. Rotates the camera through different maps, I made this for analysis purposes
Pathfinder tiles – classic mode, this map contains the tiles path finder looks at.
Behavior tiles – this contains all the behaviour tiles no collision tiles
Collision tiles – this contains collisions tiles only so just ones and zeros
Meta tiles – this map has the raw Ids, which is used to get above maps
V key, this is a toggle that turns on and off reading tile and sprite names. I have no sounds for sprites and statues and I needed this for 7th gym.
G key, this reads out the cords of the camera, Route 111 has 3 West connections, Route 112 and Route 113, Route 113 has two connections, but pathfinder is faulty and just provides directions to one Route. I lack the ability to fix this one. But G key read out the cords, be mindful that if you accidentally press the G key it inserts this item into the path finder list so pressing P gives direction to the camera position, pressing the key to move to next item removes this entry. I would use this to find a dive spot, I would press G and then P for directions to that location.
O and U keys, when in a battle reads out Pokemon nname, level, type and item number.
Avoid pressing 1, that switches to a different keyboard. I should have deleted it, but left it in case someone with technical expertise wishes to do debugging.
scripts works with french, german, italian, portuguese and spanish ROMs.
The link below contains multiple files.
you need PCA on your system first. File vba-over.ini goes next to vba.exe, remaining files go in Lua folder
File vba-over.ini is used to stop VBA displaying error message about not finding battery.
VBA looks for lua scripts in Lua folder, to avoid conflicts with other code base like pokemon.lua, my code is in emerald.lua. this is the script you need to execute. when you launch it an error message will appear saying script has been running for long time, press no, this is a required checksum to ensure we are all using the same ROM
https://drive.google.com/file/d/14wR6zS … sp=sharing