Hi, okay so basically i made this event, it's supposed to play the first time the player enters the prof. lab:
I couldn't even test if it worked properly or there was something to fix because when i enter the game, everything is fine until i run into another event i made, this event doesnìt crash the game but it's completely bugged, the text is bugged, the movements are delayes etc. And when i enter the lab, the game restarts.
I have no idea how to fix this so if anyone can help me thank you sm
Code:
#dynamic 0x71EB24
#org @start
lockall
setvar 0x4015 0x0
msgbox @ronan 0x6
applymovement 0x8 @ronanmove
applymovement 0xFF @playermove
waitmovement 0x0
waitmovement 0x0
msgbox @ronan2 0x6
msgbox @julian 0x6
msgbox @ronan3 0x6
msgbox @julian2 0x6
applymovement 0x8 @ronanmove2
waitmovement 0x0
msgbox @ronan4 0x6
msgbox @julian3 0x6
applymovement 0x8 @ronanmove3
waitmovement 0x0
msgbox @julian4 0x6
applymovement 0x8 @ronanmove4
waitmovement 0x0
msgbox @ronan5 0x6
applymovement 0x8 @ronanmove5
waitmovement 0x0
msgbox @ronan6 0x6
msgbox @julian5 0x6
applymovement 0x4 @julianmove
waitmovement 0x0
msgbox @julian6 0x6
showsprite 0x11
applymovement 0x11 @mommoveb
waitmovement 0x0
sound 0x8
fadeout 0x0
msgbox @mom 0x6
msgbox @julian7 0x6
msgbox @julian7b 0x6
showsprite 0x5
showsprite 0x6
showsprite 0x7
cry 0x1 0x0
msgbox @pokemon 0x4
waitcry
closeonkeypress
cry 0x4 0x0
msgbox @pokemon2 0x4
waitcry
closeonkeypress
cry 0x7 0x0
msgbox @pokemon3 0x4
waitcry
closeonkeypress
msgbox @julian8 0x6
msgbox @mom2 0x6
msgbox @mom3 0x6
msgbox @julian9 0x6
applymovement 0x11 @mommove
waitmovement 0x0
msgbox @mom4 0x6
applymovement 0x4 @julianmove2
waitmovement 0x0
msgbox @julian10 0x6
applymovement 0x4 @julianmove2b
waitmovement 0x0
checkgender
compare LASTRESULT 0x0
if 0x1 call @julianboy
call @juliangirl
msgbox @julianboy 0x6
applymovement 0x4 @julianmove3
waitmovement 0x0
msgbox @julian12 0x6
msgbox @ronan7 0x6
applymovement 0x4 @julianmove4
waitmovement 0x0
applymovement 0x4 @mommove2
waitmovement 0x0
sound 0x8
applymovement 0x8 @ronanmove6
waitmovement 0x0
applymovement 0xFF @playermove2
waitmovement 0x0
msgbox @ronan8 0x6
applymovement 0x8 @ronanmove6b
waitmovement 0x0
applymovement 0xFF @playermove3
waitmovement 0x0
fadein 0x0
addvar 0x4015 0x1
releaseall
end
#org @ronanmove
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @playermove
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x11
#raw 0xFE
#org @ronanmove2
#raw 0x22
#raw 0x22
#raw 0xFE
#org @ronanmove3
#raw 0x22
#raw 0x22
#raw 0x22
#raw 0x26
#raw 0x26
#raw 0x26
#raw 0x26
#raw 0x26
#raw 0x26
#raw 0x2A
#raw 0x2A
#raw 0x2A
#raw 0x2A
#raw 0x2A
#raw 0x2A
#raw 0xFE
#org @ronanmove4
#raw 0x3
#org @ronanmove5
#raw 0x5
#org @julianmove
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x0
#raw 0xFE
#org @mommoveb
#raw 0x1
#raw 0x11
#raw 0xFE
#org @mommove
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x1
#raw 0xFE
#org @julianmove2
#raw 0x2
#raw 0x18
#raw 0x0
#raw 0xFE
#org @julianmove2b
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x3
#raw 0xFE
#org @julianmove3
#raw 0x1
#raw 0xFE
#org @julianmove4
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
#org @mommove2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
#org @ronanmove6
#raw 0x3
#raw 0xFE
#org @playermove2
#raw 0x2
#raw 0xFE
#org @ronanmove6b
#raw 0x1
#raw 0xFE
#org @playermove3
#raw 0x1
#raw 0xFE
#org @ronan
= [RIVAL]: We're here!\p[RIVAL]: You must be the pokémon\nprofessor Julian!
#org @ronan2
= [RIVAL]: We are so onored to be\nmeeting you in person!
#org @julian
= [orange_fr]JULIAN: [PLAYER], [RIVAL], I'm so glad you\ncame here today!/pJULIAN: Let me guess, you turned 12\nrecently, right?
#org @ronan3
= [RIVAL]: Kind of, my birthday\nwas a few months ago, but [PLAYER]'s\lone was not even a week ago.\p[RIVAL]: But[.] if i can ask,\nwhy this question?
#org @julian2
= [orange_fr]JULIAN: In other\nregions,\lkids\lwho\lturn 10 are allowed to start a\ljourney with their pokémon\pJULIAN: In Heliu, the age is 12,\nbut that isn't today's subject.\pJULIAN: Your parents contacted me\nwhen you were about to turn 12,\land they\ltold me...\pJULIAN That once both of you hit\nthe age, i could give you a\l[red_fr]special gift[.]
#org @ronan4
= [RIVAL]: WAIT\pDOES THAT MEAN THAT[.]
#org @julian3
= [orange_fr]JULIAN: You are officially old\nenough to be Pokémon trainers!\pHow does that make you feel?
#org @julian4
= [orange_fr]JULIAN: Hey kid, are you alright?
#org @ronan5
= [RIVAL]: [PLAYER] i think this is\nthe best day of my life oh my\lgosh i can't contain myself-
#org @ronan6
= [RIVAL]: WE'RRRRRE FEELING\nGREAT!!!\p[RIVAL]: I ALWAYS WISHED TO\nTRAVEL AROUND THE WORLD WITH MY\lBELOVED POKÉMON!\p[RIVAL]: AND NOW, THIS DREAM CAN\nBECOME TRUTH!!
#org @julian5
= [orange_fr]JULIAN: I am so glad to fullfill\nyour wish [RIVAL]!\p[orange_fr]JULIAN: So, there are 3 special\npokémon, you can choose only one\las your companion.
#org @julian6
= [orange_fr]JULIAN: Here they are!
#org @mom
= [blue_fr]MOM: Hey! Wait a second!
#org @julian7
= [orange_fr]JULIAN: What's up lady?
#org @julian7b
= [orange_fr]JULIAN: I was just about to release the\npokémon.
#org @pokemon
= [lightgreen_fr]Dee-deer!
#org @pokemon2
= [red_fr]Laaaaa!
#org @pokemon3
= [cyan_fr]Ghou-ghou-lphin!
#org @julian8
= [orange_fr]JULIAN: Aww, aren't they adorable?
#org @mom2
= [blue_fr]MOM: Oh, it's just[.] you see, i was\na bit anxious so i kind of wanted\lto assist the scene[.]
#org @mom3
= [blue_fr]MOM: [.]Actually, there's something i\nneed to tell my son[.]
#org @julian9
= [orange_fr]JULIAN: It's confession time!\nDon't worry, i'll wait!
#org @mom4
= [blue_fr]MOM: [PLAYER], my child, i know\nyou're really excited aboit\lgetting your first pokémon from\lthe professor[.]\pBut[.] i'm really worried about\nyou, and if you receive your first\lpokémon[.]\pYou're gonna have to travel across\nthe region.\pAnd, honestly, i am not ready to\nsee you go at such a yound age.\pWhat if something bad happens?\nWhat if you get hurt?\pI just[.] can't let it happen\nagain[.] i'm sorry [PLAYER].
#org @julian10
= [orange_fr]JULIAN: Hey, lady, can i reassure\nyou?
#org @julianboy
= [orange_fr]JULIAN: I am so glad you let out\nhow you feel regarding your son's\lsituation changing, and i fully\lunderstand.\pJULIAN: But trust me when i tell\nyou that there's nothing to be\lafraid of! I know it sounds scary,\lyour son at such a yound age\ltravelling across the region[.]\pJULIAN: But i can assure you that\neverything is going to be fine,\lyour son's pokémon will protect\lhim at all costs.\pJULIAN: and when they won't be\nable to protect him, he will be\lable to protect himself, i trust\lhim, and you should too\pJULIAN: I have an idea! Let's\ncontinue this conversation\loutside!
#org @juliangirl
= [orange_fr]JULIAN: I am so glad you let out\nhow you feel regarding your daughter's\lsituation changing, and i fully\lunderstand.\pJULIAN: But trust me when i tell\nyou that there's nothing to be\lafraid of! I know it sounds scary,\lyour daughter at such a yound age\ltravelling across the region[.]\pJULIAN: But i can assure you that\neverything is going to be fine,\lyour daughter's pokémon will protect\lher at all costs.\pJULIAN: and when they won't be\nable to protect her, she will be\lable to protect herself, i trust\lher, and you should too\pJULIAN: I have an idea! Let's\ncontinue this conversation\loutside!
#org @julian12
= [orange_fr]JULIAN: While i talk with\n[PLAYER]'s mom, you two can start\lby picking ONE on the three\lpokémon in front of you!\pJULIAN: I'll be back in a flash!
#org @ronan7
= [RIVAL]: All right! Thanks!
#org @ronan8
= [RIVAL]: Man[.] your mom was\nreaaaaally worried about you[.]\pI guess that's after what happened\nto your brother right?\pBut that won't happen again! So\nthere's no need to worry!\pC'mon [PLAYER], let's pick our\nfirst pokémon!
I couldn't even test if it worked properly or there was something to fix because when i enter the game, everything is fine until i run into another event i made, this event doesnìt crash the game but it's completely bugged, the text is bugged, the movements are delayes etc. And when i enter the lab, the game restarts.
I have no idea how to fix this so if anyone can help me thank you sm