mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Implemented GameData::Encounter, created new encounters.txt format, tweaked Vs animation filenames
This commit is contained in:
@@ -714,7 +714,7 @@ end
|
||||
|
||||
def pbStartSurfing
|
||||
pbCancelVehicles
|
||||
$PokemonEncounters.clearStepCount
|
||||
$PokemonEncounters.reset_step_count
|
||||
$PokemonGlobal.surfing = true
|
||||
pbUpdateVehicle
|
||||
$PokemonTemp.surfJump = $MapFactory.getFacingCoords($game_player.x,$game_player.y,$game_player.direction)
|
||||
@@ -831,8 +831,8 @@ def pbSweetScent
|
||||
break if viewport.color.alpha<=0
|
||||
end
|
||||
viewport.dispose
|
||||
enctype = $PokemonEncounters.pbEncounterType
|
||||
if enctype<0 || !$PokemonEncounters.isEncounterPossibleHere? ||
|
||||
enctype = $PokemonEncounters.encounter_type
|
||||
if enctype < 0 || !$PokemonEncounters.encounter_possible_here? ||
|
||||
!pbEncounter(enctype)
|
||||
pbMessage(_INTL("There appears to be nothing here..."))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user