View Single Post
  #7228    
Old August 21st, 2012, 11:41 AM
Darkrai87
Unhatched Egg
 
Join Date: Dec 2010
Gender: Male
Quote:
Originally Posted by NinjaLizzard View Post
I feel so noobish asking for help on this, but I've totally run out of patience and ideas to make this work. I'm brand new to scripting, and have just started to try to add script into the first town I've mapped in Advance Map. I've basically copied the coding from tutorials, but for some reason, when I add the script, there's no effect in the game, or the game will lock up. All I'm trying to do is get a NPC to say some stupid little thing like they do in all Pokemon games.

Script
Spoiler:
#dynamic 0x900000
#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= I love these flowers!


Then upon compiling, I copied the code listed in Dynamic Offsets, and inserted it into the map, saved, and booted it up. Upon talking to the person I'd listed the code for, no text or message box appeared, and I couldn't move my character anymore. Can someone help me please?
1st of all, make sure you're using XSE 1.1.1 (Go to Help > About and it should say XSE Version 1.1.1), if you aren't then you need to get that dl. 2nd, when you compile your code copy the offset next to start and in advance map paste that into "script offset" for the person event you want to have say "I love these flowers!".
__________________
Currently playing through: Pokemon Flora Sky