Quote:
Originally Posted by RedyXtreme
Is there a script to prevent a person event from showing up in the game until the National dex is obtained?
|
A sample NPC script:
Code:
#dynamic 0x[FF Offset]
#org @start
lock
checkflag 0x16F
if 0x1 goto @nationaldexobtained
msgbox @msg1 0x6
release
end
#org @nationaldexobtained
msgbox @msg2 0x2
end
#org @msg1
= No, you don't have the National Dex.
#org @msg2
= You got the National Dex!
Basically the command "checkflag 0x16F" checks for the National Dex.