- 4
- Posts
- 2
- Years
- He/Him
- Georgia
- Seen Aug 19, 2023
I am making a ROM hack for Fire Red with a focus on double battles with competitive moves and items. Should players not want to grind I want to give them this oppotunity without the hassle of inputing cheats into an emulator. Below is the script I am writing to give the player rare candy. I am getting the error 13 for type mismatch on line 6 and it says im missing the #define. The tutorial I am following makes me think this should be correct but it clearly isnt, maybe the tutorial is just outdated. Any help would be appreciated.
EDIT: Forgot to mention I am using version 1.1.1 of XSE for writing my scripts
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @talk 0x6 'regular message box
giveitem 0x44 0x63 MSG_OBTAIN '44 is the hex number indentifier for rare candy I believe. 63 is the hex for 99
release
end
#org @talk
= [green_fr]I heard you hate grinding\lhere's some candy!
EDIT: Forgot to mention I am using version 1.1.1 of XSE for writing my scripts
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @talk 0x6 'regular message box
giveitem 0x44 0x63 MSG_OBTAIN '44 is the hex number indentifier for rare candy I believe. 63 is the hex for 99
release
end
#org @talk
= [green_fr]I heard you hate grinding\lhere's some candy!
Last edited: