mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Implemented GameData::Encounter, created new encounters.txt format, tweaked Vs animation filenames
This commit is contained in:
@@ -242,7 +242,7 @@ ItemHandlers::UseInField.add(:OLDROD,proc { |item|
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
next 0
|
||||
end
|
||||
encounter = $PokemonEncounters.hasEncounter?(EncounterTypes::OldRod)
|
||||
encounter = $PokemonEncounters.has_encounter_type?(EncounterTypes::OldRod)
|
||||
if pbFishing(encounter,1)
|
||||
pbEncounter(EncounterTypes::OldRod)
|
||||
end
|
||||
@@ -256,7 +256,7 @@ ItemHandlers::UseInField.add(:GOODROD,proc { |item|
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
next 0
|
||||
end
|
||||
encounter = $PokemonEncounters.hasEncounter?(EncounterTypes::GoodRod)
|
||||
encounter = $PokemonEncounters.has_encounter_type?(EncounterTypes::GoodRod)
|
||||
if pbFishing(encounter,2)
|
||||
pbEncounter(EncounterTypes::GoodRod)
|
||||
end
|
||||
@@ -270,7 +270,7 @@ ItemHandlers::UseInField.add(:SUPERROD,proc { |item|
|
||||
pbMessage(_INTL("Can't use that here."))
|
||||
next 0
|
||||
end
|
||||
encounter = $PokemonEncounters.hasEncounter?(EncounterTypes::SuperRod)
|
||||
encounter = $PokemonEncounters.has_encounter_type?(EncounterTypes::SuperRod)
|
||||
if pbFishing(encounter,3)
|
||||
pbEncounter(EncounterTypes::SuperRod)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user