PDA

View Full Version : Flags 98-102? How do I use them?



Archangel
04-28-2009, 10:20 PM
General Purpose 1-5: Scripts.

I was wondering how to use these. I need it so I can work on my ladder/hookshot/feather only script.

pkmnfrk
04-28-2009, 11:25 PM
if(Screen->ComboF[whatever] == 98 || Screen->ComboI[whatever] == 98) {
//ladies and gentlemen, Script Flag #1
}

Obvious questions and answers:

- replace "whatever" with whatever combo you're checking.
- if you want to check all the combos on the screen, use a loop
- if you're using this in an FFC, you probably want to put the actual flag number in a parameter, so you can use different flag numbers on different screens.