Jump to content

Recommended Posts

I've been looking all over for a LUA script for HGSS, could someone possibly provide a download please?

Thanks!

Share this post


Link to post
Share on other sites

Position Reader:

while true do
gui.text(0,0, string.format("X: %d, Y: %d", memory.readword(0x021DA6DE,2), memory.readword(0x021DA6FE,2)))
emu.frameadvance()
end

Share this post


Link to post
Share on other sites

Isn't there usually a file that you have to open while in the Desmume menu?

Or do I have to insert that text somewhere?

Share this post


Link to post
Share on other sites

Now it's saying that lua51.dll was not found and it must be put in the same path.

Or am I doing this wrong?

Share this post


Link to post
Share on other sites

It still didn't work, but I guess downloading an older version of Desmume worked, so thanks for your help :)

Share this post


Link to post
Share on other sites

Sorry to bump, but I was wondering if somebody has the position values for Pokemon Platinum? I can find Diamond/Pearl/HG/SS's, but strangely not Platinums. Thanks in advance.

Share this post


Link to post
Share on other sites

Thank you for posting that page, but sadly it doesn't list what I'm looking for. Perhaps I formulated my question wrongly. I'm looking for the ram values that give the X and Y positions.

while true do
gui.text(0,0, string.format("X: %d, Y: %d", memory.readword(0x0XXXXXXX,2), memory.readword(0x0XXXXXXX,2)))
emu.frameadvance()
end

I'd like to get this script working for Platinum, but I don't have the correct values. I'm sure somebody has them. If it could be posted in this thread, I'd be grateful.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...