-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Pokédex
Portal
Technical Documentation
Pages
Tutorials
Forums
Events
Downloads
Gallery
Blogs
Posts posted by DragonNight
-
-
Can someone explain why flags doesn't works here?
Map: 34 - Route 30
Script 11
Fanfare 1500
Lockall
Faceplayer
Checkflag 310 -- check flag value and store it in Last Result
CheckLR 1 func_4 -- case be 'false or 1' (I believe) func_4 will be called
Message 4 -- I’m not a Trainer. But if you look one in the eyes, prepare to battle.
WaitButton
CloseMsgOnKeyPress
Releaseall
End
I've changed this script for test, below the func_4
Message 0 -- Go, RATTATA! Tackle!
WaitButton
CloseMsgOnKeyPress
Setflag 310 -- set the flag
Releaseall
End
What I've done here was if flag 310 is not checked or set value 1 the function 4 will be called and the message 0 will be showed.
When the script is runned again, the checkflag must put 0 (or a diferente value I believe) in LR and the function must not be executed, instead the message 4 will appear.
But when I talk to girl, she only says "Go, RATTATA! Tackle!" like if the flag isn't be setted in function 4:
Someone here can show me a light how flags works in the right way?
-
I edited the images, now you can see it.
-
Obj to Nsbmd? Import obj to Sdsme
in ROM - NDS Discussion & Help
Posted
Run MKDS Course Modifier
File > New > NSBMD
Select the .obj file, at same time will be prompted a window to save in .nsbmd format.