RSS Bot Posted August 16, 2010 Share Posted August 16, 2010 Had to fight with a weird compiler error. Hopefully the last time I'll see "error: Value in 'cmp #256' must be <$100." Also discovered rand didn't change room types often enough. Seems to work better if I swap bits around in the result. Here's an example of what I'm talkin' about: changeworldx if worldx = 0 then worldx = 255 rand = worldx mytemp = rand room_type{0} = mytemp{4} room_type{1} = mytemp{1} room_type{2} = mytemp{3} room_type{3} = mytemp{5} room_type{4} = mytemp{7} room_type{5} = mytemp{6} room_type{6} = mytemp{2} room_type{7} = mytemp{0} gosub changeroom bank2 return http://www.atariage.com/forums/blog/381/entry-7340-256-x-256-screen-maze-working/ Link to comment Share on other sites More sharing options...
Recommended Posts