im not sure if dis is wat u want but improvise on it.
-1st make the necessary event maybe with the soldier saying
"i'll deal you a card.
if its a sun, you give me 10 bucks
if its a moon, i give you 10 bucks
if its a star, you give me 20 bucks
if its a comet, i give you 20 bucks"
-then open the event commands page and select CHANGE VARIABLE
-under Choose Variable(s) check ONE and create a new variable
and call it "card game"
-under Operand check RAND and put 1 in the 1st box and 4 in the 2nd box
-click ok
-open the event commands page again and this time select FORK CONDITIONS.
-check VARIABLE and select the card game variable. check SET and put in the number 1. leave the other box as SAME. uncheck the ELSE CASE
-click ok.
-now in the space between the FORK and END click to open the event commands page and put in a message " its a sun! you lose 10 bucks"
-then open the event commands page and select CHANGE GOLD.
-check DECREASE MONEY and check SET and put in the number 10
-click ok
- now below the END CASE open another FORK CONDITIONS but this time the SET number should be 2.
-and the message should be "Its a moon, you get 10 bucks"
-in CHANGE GOLD it should now be INCREASE MONEY
-repeat for FORK CONDITIONS 3 and 4, changing the message and the gold held as appropriate.
in the end it should look like this.
<>Variable Ch:[0.0020:card game] Set. Randm[1*4]
<>FORK Optn: Varbl[0020:card game]-1
<>Messg:Its a Sun! You lose 10 bucks
<>Change Money: Money 10 Decr.
<>
:END Case
<>FORK Optn: Varbl[0020:card game]-2
<>Messg:Its a Moon! You get 10 bucks
<>Change Money: Money 10 Incr.
<>
:END Case
<>FORK Optn: Varbl[0020:card game]-3
<>Messg:Its a Star! You lose 20 bucks
<>Change Money: Money 20 Decr.
<>
:END Case
<>FORK Optn: Varbl[0020:card game]-4
<>Messg:Its a Comet! You get 20 bucks
<>Change Money: Money 20 Incr.
<>
:END Case