mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
moonlight & morning sun field moves + fishing items
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -116,6 +116,7 @@ begin
|
||||
WaterSport = 110
|
||||
WeightChange = 111
|
||||
Yawn = 112
|
||||
FusionSwap = 113
|
||||
|
||||
#===========================================================================
|
||||
# These effects apply to a battler position
|
||||
|
||||
@@ -2712,3 +2712,39 @@ class PokeBattle_Move_07F < PokeBattle_Move
|
||||
return baseDmg
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
#################
|
||||
# Fusion Swap
|
||||
# ###############
|
||||
class PokeBattle_Move_080 < PokeBattle_Move
|
||||
def pbMoveFailed?(user,targets)
|
||||
if targets[0].effects[PBEffects::Transform]
|
||||
@battle.pbDisplay(_INTL("But it failed!"))
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
def pbFailsAgainstTarget?(user,target)
|
||||
if target.effects[PBEffects::Transform] ||
|
||||
target.effects[PBEffects::Illusion] ||
|
||||
!target.pokemon.isFusion?
|
||||
@battle.pbDisplay(_INTL("But it failed!"))
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
def pbEffectAgainstTarget(user,target)
|
||||
body = getBasePokemonID(target.pokemon.species, true)
|
||||
head = getBasePokemonID(target.pokemon.species, false)
|
||||
newspecies = (head) * Settings::NB_POKEMON + body
|
||||
target.pbTransform(newspecies)
|
||||
end
|
||||
|
||||
def pbShowAnimation(id,user,targets,hitNum=0,showAnimation=true)
|
||||
super
|
||||
@battle.scene.pbChangePokemon(user,targets[0].pokemon)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -48,14 +48,14 @@ class Scene_Credits
|
||||
CREDIT = <<_END_
|
||||
|
||||
Pokémon Infinite Fusion
|
||||
By Chardub
|
||||
By Frogman
|
||||
|
||||
General graphics / Music / Intellectual property
|
||||
Nintendo
|
||||
GameFreak
|
||||
|
||||
Programming / Eventing:
|
||||
Chardub
|
||||
Frogman
|
||||
|
||||
Fused Pokemon Sprites :
|
||||
Japeal - Pokefusion 2
|
||||
@@ -72,12 +72,12 @@ Compiler optimization
|
||||
andracass (Pokémon Reborn)
|
||||
|
||||
Maps:
|
||||
Chardub
|
||||
Frogman
|
||||
Some of the maps were based on work by:
|
||||
BenGames, Zeak6464
|
||||
|
||||
Gameplay planning / Story:
|
||||
Chardub
|
||||
Frogman
|
||||
The story and dialogues were based
|
||||
off Pokémon Red and Blue, as well as
|
||||
Pokémon Gold and Silver.
|
||||
@@ -121,7 +121,7 @@ WesleyFG, BoOmxBiG,
|
||||
EternalTakai, Hek-el-grande
|
||||
|
||||
Other tiles:
|
||||
Chardub, chimcharsfireworkd,
|
||||
Frogman, chimcharsfireworkd,
|
||||
Rossay, Shiney570,
|
||||
Phyromatical, Gallanty
|
||||
|
||||
@@ -175,7 +175,7 @@ Lisa Anthony<s>
|
||||
and everyone else who helped out
|
||||
|
||||
"Pokémon Infinite Fusion" was made by:
|
||||
Chardub
|
||||
Frogman
|
||||
|
||||
Playtesting and Custom Sprites were made by
|
||||
various members of the Discord channel.
|
||||
|
||||
@@ -130,7 +130,6 @@ HiddenMoveHandlers::UseMove.add(:MOONLIGHT,proc{|move,pokemon|
|
||||
|
||||
def pbSkipTime(newTime)
|
||||
currentTime = pbGetTimeNow.hour
|
||||
#hoursToAdd = (24-currentTime + newTime)-24
|
||||
hoursToAdd = newTime - currentTime
|
||||
$game_variables[UnrealTime::EXTRA_SECONDS] += hoursToAdd*3600
|
||||
end
|
||||
251
Data/Scripts/050_AddOns/platform.rb
Normal file
251
Data/Scripts/050_AddOns/platform.rb
Normal file
@@ -0,0 +1,251 @@
|
||||
|
||||
# ▼▲▼ XRXS50. Action-Maps XC. ▼▲▼ built 033010
|
||||
# by 桜雅 在土
|
||||
|
||||
#======================================================
|
||||
# □ Customization points
|
||||
#======================================================
|
||||
class XRXS50
|
||||
#
|
||||
# Action-Maps - ID maps actives
|
||||
#
|
||||
|
||||
ENABLE_FULL_ACTY_MAPS = [404,547,548,549,550,217,614,615,656]
|
||||
|
||||
#
|
||||
# Slide descent (diagonal drop)
|
||||
#
|
||||
ENABLE_SLIDE_DESCENT = true
|
||||
#
|
||||
# true: Jump in the direction facing orientation: Jump
|
||||
# false : Jump to the direction in which the key is pressed.
|
||||
#
|
||||
JUMP_AS_KEY = true
|
||||
end
|
||||
#======================================================
|
||||
# ■ Game_Player
|
||||
#======================================================
|
||||
class Game_Player < Game_Character
|
||||
#------------------------------------------------------
|
||||
# Public Variable
|
||||
#------------------------------------------------------
|
||||
# Existing
|
||||
attr_writer :direction_fix
|
||||
attr_accessor :walk_anime
|
||||
# New
|
||||
attr_accessor :now_jumps
|
||||
attr_writer :xrxs50_direction_sidefix
|
||||
#------------------------------------------------------
|
||||
# ○Maximum jump number
|
||||
#------------------------------------------------------
|
||||
def max_jumps
|
||||
return $game_switches[890] ? 5 : 2
|
||||
end
|
||||
#------------------------------------------------------
|
||||
# ● Vers la gauche
|
||||
#------------------------------------------------------
|
||||
alias xrxs50_turn_left turn_left
|
||||
def turn_left
|
||||
if @xrxs50_direction_sidefix
|
||||
@direction = 4
|
||||
else
|
||||
turn_generic(4)
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
#------------------------------------------------------
|
||||
# ● Vers la droite
|
||||
#------------------------------------------------------
|
||||
alias xrxs50_turn_right turn_right
|
||||
def turn_right
|
||||
if @xrxs50_direction_sidefix
|
||||
@direction = 6
|
||||
else
|
||||
turn_generic(6)
|
||||
end
|
||||
end
|
||||
#------------------------------------------------------
|
||||
# ● Vers le haut et le bas
|
||||
#------------------------------------------------------
|
||||
alias xrxs50_turn_up turn_up
|
||||
def turn_up
|
||||
if @xrxs50_direction_sidefix and Input.press?(Input::UP)
|
||||
return if $game_switches[890]
|
||||
@direction = 8
|
||||
xrxs50_turn_up
|
||||
else
|
||||
turn_generic(8)
|
||||
end
|
||||
end
|
||||
|
||||
alias xrxs50_turn_down turn_down
|
||||
def turn_down
|
||||
if @xrxs50_direction_sidefix and Input.press?(Input::DOWN)
|
||||
xrxs50_turn_right
|
||||
else
|
||||
turn_generic(2)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
#======================================================
|
||||
# ■ Scene_Map
|
||||
#======================================================
|
||||
class Scene_Map
|
||||
#------------------------------------------------------
|
||||
# ● Main processing
|
||||
#------------------------------------------------------
|
||||
alias xrxs50_main main
|
||||
def main
|
||||
# Check
|
||||
xrxs50_enable_check
|
||||
# Recall
|
||||
xrxs50_main
|
||||
end
|
||||
#------------------------------------------------------
|
||||
# ● Frame update
|
||||
#------------------------------------------------------
|
||||
alias xrxs50_update update
|
||||
def update
|
||||
# Recall
|
||||
xrxs50_update
|
||||
# Frame update (coordinate system update)
|
||||
if @xrxs50_enable
|
||||
update_coordinates
|
||||
end
|
||||
end
|
||||
#------------------------------------------------------
|
||||
# ○ Frame update (coordinate system update)
|
||||
#------------------------------------------------------
|
||||
def update_coordinates
|
||||
if $game_player.passable?($game_player.x,$game_player.y,2) #2
|
||||
unless $game_player.moving?
|
||||
|
||||
if XRXS50::ENABLE_SLIDE_DESCENT and
|
||||
Input.press?(Input::RIGHT) and
|
||||
$game_player.passable?($game_player.x,$game_player.y+1,6) #1,6
|
||||
$game_player.move_lower_right
|
||||
$game_player.turn_right
|
||||
elsif XRXS50::ENABLE_SLIDE_DESCENT and
|
||||
Input.press?(Input::LEFT) and
|
||||
$game_player.passable?($game_player.x,$game_player.y+1,4)
|
||||
$game_player.move_lower_left
|
||||
$game_player.turn_left
|
||||
else
|
||||
$game_player.move_down
|
||||
end
|
||||
end
|
||||
else
|
||||
if Input.trigger?(Input::UP) && !$game_switches[890]
|
||||
@direction =8 #8
|
||||
end
|
||||
$game_player.move_down
|
||||
$game_player.walk_anime = true unless $game_player.walk_anime
|
||||
$game_player.now_jumps = 0
|
||||
|
||||
|
||||
end
|
||||
|
||||
input = $game_switches[890] ? Input::UP : Input::X
|
||||
if Input.trigger?(input) and $game_player.now_jumps < $game_player.max_jumps
|
||||
if XRXS50::JUMP_AS_KEY
|
||||
direction = $game_player.direction == 4 ? -1 : 1
|
||||
#si pas jump as key
|
||||
else
|
||||
if Input.press?(Input::RIGHT)
|
||||
direction = 1
|
||||
elsif Input.press?(Input::LEFT)
|
||||
direction = -1
|
||||
else
|
||||
direction = 0
|
||||
end
|
||||
end
|
||||
|
||||
#if $game_switches[31] == true
|
||||
# @direction =8 #8# Jump Height
|
||||
#else
|
||||
$game_player.jump(direction, -2)# Jump Height
|
||||
pbSEPlay("Jump",100)
|
||||
#end
|
||||
$game_player.now_jumps += 1 #1
|
||||
$game_player.walk_anime = false
|
||||
end
|
||||
end
|
||||
|
||||
#------------------------------------------------------
|
||||
# ● Location movement of player
|
||||
#------------------------------------------------------
|
||||
#alias xrxs50_transfer_player transfer_player
|
||||
#def transfer_player(cancelVehicles=false)
|
||||
# #Recall
|
||||
#xrxs50_transfer_player
|
||||
# #Check
|
||||
#xrxs50_enable_check
|
||||
#end
|
||||
|
||||
def transfer_player(cancelVehicles=true)
|
||||
$game_temp.player_transferring = false
|
||||
if cancelVehicles
|
||||
Kernel.pbCancelVehicles($game_temp.player_new_map_id)
|
||||
end
|
||||
autofade($game_temp.player_new_map_id)
|
||||
pbBridgeOff
|
||||
if $game_map.map_id != $game_temp.player_new_map_id
|
||||
$MapFactory.setup($game_temp.player_new_map_id)
|
||||
end
|
||||
$game_player.moveto($game_temp.player_new_x, $game_temp.player_new_y)
|
||||
case $game_temp.player_new_direction
|
||||
when 2
|
||||
$game_player.turn_down
|
||||
when 4
|
||||
$game_player.turn_left
|
||||
when 6
|
||||
$game_player.turn_right
|
||||
when 8
|
||||
$game_player.turn_up
|
||||
end
|
||||
|
||||
xrxs50_enable_check
|
||||
$game_player.straighten
|
||||
$game_map.update
|
||||
disposeSpritesets
|
||||
GC.start
|
||||
createSpritesets
|
||||
if $game_temp.transition_processing
|
||||
$game_temp.transition_processing = false
|
||||
Graphics.transition(20)
|
||||
end
|
||||
$game_map.autoplay
|
||||
Graphics.frame_reset
|
||||
Input.update
|
||||
end
|
||||
|
||||
|
||||
|
||||
#------------------------------------------------------
|
||||
# ○ XRXS50 Decision whether to run
|
||||
#------------------------------------------------------
|
||||
def xrxs50_enable_check
|
||||
if XRXS50::ENABLE_FULL_ACTY_MAPS.include?($game_map.map_id)
|
||||
|
||||
$game_player.now_jumps = 0 if $game_player.now_jumps.nil?
|
||||
@xrxs50_enable = true #Gravité
|
||||
$game_player.direction_fix =true
|
||||
$game_player.xrxs50_direction_sidefix = true
|
||||
|
||||
else
|
||||
@xrxs50_enable = false
|
||||
$game_player.direction_fix = false
|
||||
$game_player.xrxs50_direction_sidefix = false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -696,3 +696,4 @@
|
||||
677,FAINTATTACK,Feint Attack,0A5,60,DARK,Physical,0,20,0,NearOther,0,abef,"The user draws up to the foe disarmingly, then throws a sucker punch. It hits without fail."
|
||||
678,HIDDENPOWER2,Hidden Power,090,60,NORMAL,Special,100,15,0,NearOther,0,bef,"A unique attack that varies in type and intensity depending on the Pokémon using it."
|
||||
679,TRIATTACK2,Tri Attack,017,70,NORMAL,Special,100,10,20,NearOther,0,bef,"The user strikes with a simultaneous three-beam attack. May also paralyze, burn, or freeze the target."
|
||||
680,FUSIONSWAP,Fusion Beam,017,0,QMARKS,Special,100,5,20,NearOther,0,bef,"A strange move developped by Team Rocket. It temporarily inverts an opposing fused Pokémon."
|
||||
|
||||
Reference in New Issue
Block a user