- 24
- Posts
- 9
- Years
- Seen Nov 18, 2023
So I'm trying to learn to script and all that so I can make my own hack at some point.. and I'm running into issues constantly..
Does this code have any problems? If not, great.. HOW THE HELL DO I INSERT IT INTO THE GAME WITH ADVANCE MAP and XSE!?! Seriously I've spent the past 4 hours trying to figure this out and it just wont cooperate.. Like..I keep copy pasting in this code.. Most of the time it doesnt even give me the option to compile.. and when it does it says theres no errors and gives me a bunch of numbers at the bottom of the window that comes up saying things such as start=86B6CC ect... After that.. I add a new person event..click change events, the free space finder comes up..I click okay.. then under Event Offset i paste the 86B6CC after the first 2 0s and its like I never did anything.. All that coding is gone..What am I doing wrong? This is some confusing stuff >:(
#dynamic 0x800554
#org @start
lock
faceplayer
checkflag 0x1200
if 0x1 goto @done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @givepokemon
msgbox @nothanks 0x6
release
end
#org @done
msgbox @checkup 0x6
release
end
#org @givepokemon
msgbox @thanks 0x6
givepokemon 0x19 0x5 0xCA 0x0 0x0 0x0
fanfare 0x13E
msgbox @recieved 0x6
waitfanfare
setflag 0x1200
msgbox @thanks2 0x6
release
end
#org @question
= Hey there!\pYou seem like a nice person!\nWould you like this Pikachu?
#org @nothanks
= Oh? That's to bad.\pCome back if you change your mind.
#org @thanks
= Oh! That's GREAT!\pHere you go!
#org @thanks2
= Thanks again! I think it will have\nmore fun with you than with me.
#org @recieved
= \v\h01 recieved a PIKACHU!
#org @checkup
= How's that pikachu doing?\nHopefully good.
Does this code have any problems? If not, great.. HOW THE HELL DO I INSERT IT INTO THE GAME WITH ADVANCE MAP and XSE!?! Seriously I've spent the past 4 hours trying to figure this out and it just wont cooperate.. Like..I keep copy pasting in this code.. Most of the time it doesnt even give me the option to compile.. and when it does it says theres no errors and gives me a bunch of numbers at the bottom of the window that comes up saying things such as start=86B6CC ect... After that.. I add a new person event..click change events, the free space finder comes up..I click okay.. then under Event Offset i paste the 86B6CC after the first 2 0s and its like I never did anything.. All that coding is gone..What am I doing wrong? This is some confusing stuff >:(
#dynamic 0x800554
#org @start
lock
faceplayer
checkflag 0x1200
if 0x1 goto @done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @givepokemon
msgbox @nothanks 0x6
release
end
#org @done
msgbox @checkup 0x6
release
end
#org @givepokemon
msgbox @thanks 0x6
givepokemon 0x19 0x5 0xCA 0x0 0x0 0x0
fanfare 0x13E
msgbox @recieved 0x6
waitfanfare
setflag 0x1200
msgbox @thanks2 0x6
release
end
#org @question
= Hey there!\pYou seem like a nice person!\nWould you like this Pikachu?
#org @nothanks
= Oh? That's to bad.\pCome back if you change your mind.
#org @thanks
= Oh! That's GREAT!\pHere you go!
#org @thanks2
= Thanks again! I think it will have\nmore fun with you than with me.
#org @recieved
= \v\h01 recieved a PIKACHU!
#org @checkup
= How's that pikachu doing?\nHopefully good.