View Single Post
  #6242    
Old November 12th, 2011, 01:20 PM
Kaith's Avatar
Kaith
Hacker of Fire
 
Join Date: Oct 2011
Location: North, it's cold.
Gender: Male
Nature: Relaxed
What my script does is after you leave the house, Oak's assistant brings you and your rival to Oak's lab and they both go inside. (Don't point out that I haven't added the part for the door animation yet).

I want these two sprites (Rival and Oak's Assistant) to dissapear from Pallet town after this script finishes running, and they do temporarily but after I come out of Oak's lab, they're back out in front of the house you started at. How can I get them to dissapear permanently? They only need to appear once.

Rival's Person num=4 Event num=5
Assistant Person num=5 Event num=6

Game: Fire Red
Type: Hidesprite
Editor: XSE
Scrpit:
Spoiler:
#dynamic 0x4A3700

#org @start
lock
checkflag 0x1001
if 0x0 goto @continue
release
end

#org @continue
applymovement 0x06 @move
waitmovement 0x0
msgbox @1 0x6
applymovement 0x06 @move1
applymovement 0x05 @move2
applymovement 0xFF @move2
waitmovement 0x0
msgbox @2 0x6
applymovement 0x05 @move3
waitmovement 0x0
hidesprite 0x04
applymovement 0x06 @move4
waitmovement 0x0
msgbox @3 0x6
applymovement 0x06 @move5
waitmovement 0x0
msgbox @4 0x6
applymovement 0x06 @move6
waitmovement 0x0
hidesprite 0x05
setflag 0x1001
release
end

#org @1
= Oak's Assistant: You two, you're\nlate!\p\c\h01\h08\v\h06: But, but, but-\nI was busy saving my\pgirlfriend Zelda!\p\Oak's Assistant:...\pAnyways, follow me. We need to get\nyou two your Pokemon.

#org @2
= Oak's Assistant: Now, since you\ntwo were the last to wake up,\pyou get last pick of Pokemon.\p\c\h01\h08\v\h06: Oh no! I hope there's\nstill a CHARMANDER!\pHow else am I going to be just\nlike my hero!?

#org @3
= Oak's Assistant: Really now,\nhe needs to calm down.

#org @4
= Anyways, After you get your\nPokemon, make sure to go the\ptraining area behind the dorms.\pProfessor Oak is already there\nalong with the rest of the class.

#org @move
#raw 0x62
#raw 0xFE

#org @move1
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x0
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x1
#raw 0xFE

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0xFE

#org @move4
#raw 0x2
#raw 0xFE

#org @move5
#raw 0x0
#raw 0xFE

#org @move6
#raw 0x13
#raw 0x11
#raw 0xFE
__________________
Hackers, Hacker everywhere.

Hacks I support:
FloralSky