You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
give/take coins action of blue/red space (#22)
This commit is contained in:
@@ -4,6 +4,8 @@ BlueSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript_BeforeSpaceEffect
|
||||
givecoins CUR_LEVEL_COINS, BLUE_RED_SPACE_COINS
|
||||
playsound SFX_TRANSACTION
|
||||
scall LandedInRegularSpaceScript_AfterSpaceEffect
|
||||
.not_landed
|
||||
end
|
||||
@@ -12,6 +14,8 @@ RedSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript_BeforeSpaceEffect
|
||||
takecoins CUR_LEVEL_COINS, BLUE_RED_SPACE_COINS
|
||||
playsound SFX_TRANSACTION
|
||||
scall LandedInRegularSpaceScript_AfterSpaceEffect
|
||||
.not_landed
|
||||
end
|
||||
@@ -77,9 +81,7 @@ EndSpaceScript::
|
||||
GreySpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
wait 300
|
||||
turnobject PLAYER, DOWN
|
||||
wait 100
|
||||
scall LandedInRegularSpaceScript_BeforeSpaceEffect
|
||||
scall LandedInRegularSpaceScript_AfterSpaceEffect
|
||||
.not_landed
|
||||
end
|
||||
|
Reference in New Issue
Block a user