• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

undefined reference to 'x' (A trigger script that is defined)

24
Posts
3
Years
    • Seen Aug 30, 2021
    So I've got a trigger script that tells the player through message box to basically turn around and talk to someone else to find out what to do next
    I've got the script defined; I'm using two colons as well
    sk2FL6i.png

    Why is it giving me this error?

    Code:
    TriggerScript_RumbleForest_SeeRocks::
    	goto_if_set FLAG_RF_SAW_ROCKS, EventScript_RumbleForest_Cancel_TriggerScript
    	lockall
    	setflag FLAG_RF_SAW_ROCKS
    	msgbox TextScript_RF_SeeRocks, MSGBOX_DEFAULT
    	releaseall
    	end
    	
    TextScript_RF_SeeRocks:
    	.string "{PLAYER}: Hmm... Looks like some\n"
    	.string "rocks are blocking the way into the\l"
    	.string "cave.\p"
    	.string "I need something to clear the way.\n"
    	.string "I better give Mr. Thor an update.\p"
    	.string "Maybe he has a tool that can help.$"

    This is the script as it's defined
     
    24
    Posts
    3
    Years
    • Seen Aug 30, 2021
    Yes, I've also got two other triggers in the map that behave well, also

    Okay, I found my issue. I wrote a string in another map and forgot to close it with an end quote mark. ¯\_(ツ)_/¯
     
    Last edited by a moderator:
    Back
    Top