What I'm trying to do is like this.
Note: It is for a Pokémon game, I Know it bay be a lil odd *There are a lot already on here. but i'm making an exact copy of Ruby and Saphire
When a person enters from the south entrance *LittleRoot* it plays the "PkmRS_101102103.mid" then when they get to the exit of the *Route 101* it plays the "Oldale.mid" as they enter *Oldale Town*.
then
If the person Enters from the north from *Oldale Town* it plays the "PkmRS_101102103.mid" as they are going through *Route 101* and then they Exit from the south at *LittleRoot* it plays the "LittleRootTown.mid".
I hope that kinda sums it up, lol.
here is a small ASCII Diagram to give a visual.
------------
| & amp;nbsp; & amp;nbsp; |
| Oldale & nbsp; |
| & amp;nbsp; & amp;nbsp; |
---- ----
| |
---- ----
| & amp;nbsp; & amp;nbsp; |
| Route101 |
| & amp;nbsp; & amp;nbsp; |
---- ----
| |
---- ----
| & amp;nbsp; & amp;nbsp; |
| LittleRoot |
| & amp;nbsp; & amp;nbsp; |
------------
Here is the code I'm having a problem with.
Note: I might have it completly wrong because when ever I exit, I always get the "LittleRootTown.mid".
area/musictiles
littleroot_to_oldale
name=""
Entered()
usr<<sound('PkmRS_101102103.mid',1)
Exited()
if(dir==NORTH)
usr<<sound('PkmRS_Oldale.mid',1)
if(dir==SOUTH)
usr<<sound('LittleRootTown.mid',1)
Lummox JR