Memorize Location: Map_Pos, X_Pos, Y_PosSwitch Op. Encounter ON'Call Event: The One Below that chooses for usEnemy Encounter: Normal, with Monster ID Stored in Variable Encounter TypeJump to Label 1ElseEndRecall to Location: Map_Pos, X_Pos, Y_PosEnd Event ProcessingHere is the code for determining the Terriain and making the encounters. This could probably use more work; I'm more familar with GameMaker which uses a totally different type of coding-- so I tried to model it based on how I would do it that way. Basically I want it to choose between X number of things, this stored in a varaible and at random. I know there is a better way to do this; I'm still figring it out. I'm probably missing something stupid and obvious.
Code:
Store Terrain ID: CharX, CharY (Probably gonna change these), Terrain IDBranch if Var Encounter_Type is 1Enemy Encounter: Normal, GroupNameElse Handlerif Branch Encounter_Type is 2Enemy Encounter: Normal, GroupName2Else//Same until we get to 4End Event ProcessingEndEnd Event ProcessingEnd //Repeat 4 times