View Single Post
  #5  
Old 04-16-2007, 03:01 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
PHP Code:
setstring this.levelslevel1.nwlevel2.nw;
setstring this.level_level1.nw0001;
setstring this.level_level2.nw0011;
setstring this.startoverworldcavegmapelitehouse;
setstring this.start_overworld0001;
setstring this.start_cavegmap0.5.51;
setstring this.start_elitehouse1.501;
for ( 
0this.levels.size(); a++ ) // I don't know the GS1 size var for an array, sorry!
{
  if ( 
strequals#L, #s( this.levels[a] ) ) )
  
{
    
setstring this.tempthis.( @ "level_" #s( this.levels[a] ) ); // Really sorry, not sure if this is possible in GS1
    
seteffect this.temp[0], this.temp[1], this.temp[2], this.temp[3];
  }
}
for ( 
0this.start.size(); a++ ) // I don't know the GS1 size var for an array, sorry!
{
  if ( 
startswith#s( this.start[a] ), #L ) )
  
{
    
setstring this.tempthis.( @ "start_" #s( this.start[a] ) ); // Really sorry, not sure if this is possible in GS1
    
seteffect this.temp[0], this.temp[1], this.temp[2], this.temp[3];
  }

A few things might need tweaked but I think that will work ...
__________________
Reply With Quote