- 24
- Posts
- 4
- 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
Why is it giving me this error?
This is the script as it's defined
I've got the script defined; I'm using two colons as well
![[PokeCommunity.com] undefined reference to 'x' (A trigger script that is defined) [PokeCommunity.com] undefined reference to 'x' (A trigger script that is defined)](https://i.imgur.com/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