Quote:
Originally Posted by cozzilicious
I want to implement a new repel system into this FR hack i'm making and i've got the hex coding for it complete. I just need to do something in XSE and i keep getting an error message
After copy and pasting the code, I hit 'compile" and an error message pops up "Error 13: mismatch/ #define is missing" and it points out that the error was committed on line 6. I'm not sure what to do or what to add since i did everything correctly :(
#dynamic 0x8797A7
#org @main
lock
checkitem 0x800E 0x1
compare LASTRESULT 0x1 <--- line 6
if 0x4 goto @HaveRepel
msgbox @RepelWoreOff 0x3
release
end
#org @HaveRepel
msgbox @UseAgain 0x5
closeonkeypress
compare LASTRESULT 0x1
if 0x1 goto @ASM
end
#org @ASM
callasm 0x081BFB69
end
#org @RepelWoreOff
= Repel's effect wore off.
#org @UseAgain
= Repel's effect wore off,\pWould you like to use another?
For some context, watch Repel mod for FireRed on YT, should be the first video
|
First, like DrFugi said, you should be using
XSE v1.1.1. But I believe the error is being caused because it seems that you didn't remove the "<--- line 6" phrase.