Thread: [Tutorial] Flags, Vars, & Script Tiles
View Single Post
Old May 29th, 2013 (6:15 AM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,766
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Originally Posted by ★Hoenn★ View Post
Yey, I was the second person (after karatekid) to view this thread! Heads up to 2 views!

This is IMMENSELY useful. I'm saying this, because I had a confusion about going-out-of-map-resetting flags. This is what I need.

And vars is something I used to avoid when I was a beginner, and only recently discovered the magic of script-tile vars.

But I do think there is SOME use of the Unknown? Or is there? I'm just really curious.

I'm gonna constantly check this for safe flags/variables.

But can you tell me more about the trainer flags which are 500-700. I want to know if they're safe with JPAN's Hacked FireRed Engine.
I'm going to write this big so that people scrolling through will notice it, not because I'm yelling at you.:p

JPAN's engine does NOT make any flags or vars safe.

In fact, it only makes vars not safe because some of its features restrict certain vars to doing certain things.

On regards to the trainer flags, there is flag for each trainer. Just add 0x500 to the trainer's number in A-Trainer to get the flag associated with it. When you beat a trainer, its flag is automatically set by the game. So, the only safe flags in that section are flags for trainers which you will not use, or don't exist.

I'm glad this helped you, hopefully it will help others. The unknown, is just that, unknown. There are quite a bit of things like this in the coding and are often called fillers or constants and they don't do anything other than separate data.

Paired with Simba
Reply With Quote