You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add definitions for additional regular spaces (green, item, pkmn, minigame) and end space (#21)
This commit is contained in:
@@ -14,6 +14,37 @@ RedSpaceScript::
|
||||
.not_landed
|
||||
end
|
||||
|
||||
GreenSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript
|
||||
.not_landed
|
||||
end
|
||||
|
||||
ItemSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript
|
||||
.not_landed
|
||||
end
|
||||
|
||||
PokemonSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript
|
||||
.not_landed
|
||||
end
|
||||
|
||||
MinigameSpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
scall LandedInRegularSpaceScript
|
||||
.not_landed
|
||||
end
|
||||
|
||||
EndSpaceScript::
|
||||
end
|
||||
|
||||
GreySpaceScript::
|
||||
scall ArriveToRegularSpaceScript
|
||||
iftrue .not_landed
|
||||
|
@@ -376,9 +376,14 @@ CheckBoardEvent:
|
||||
|
||||
.SpaceScripts:
|
||||
table_width 2, .SpaceScripts
|
||||
dw BlueSpaceScript ; COLL_BLUE_SPACE
|
||||
dw RedSpaceScript ; COLL_RED_SPACE
|
||||
dw GreySpaceScript ; COLL_GREY_SPACE
|
||||
dw BlueSpaceScript ; COLL_BLUE_SPACE
|
||||
dw RedSpaceScript ; COLL_RED_SPACE
|
||||
dw GreenSpaceScript ; COLL_GREEN_SPACE
|
||||
dw ItemSpaceScript ; COLL_ITEM_SPACE
|
||||
dw PokemonSpaceScript ; COLL_POKEMON_SPACE
|
||||
dw MinigameSpaceScript ; COLL_MINIGAME_SPACE
|
||||
dw EndSpaceScript ; COLL_END_SPACE
|
||||
dw GreySpaceScript ; COLL_GREY_SPACE
|
||||
assert_table_length NUM_COLL_SPACES
|
||||
|
||||
CheckTrainerEvent:
|
||||
|
Reference in New Issue
Block a user