Go Back   The PokéCommunity Forums > FL

Notices
For all updates, view the main page.



Conversation Between FL and jota_rdk
Showing Visitor Messages 1 to 10 of 11
  1. jota_rdk
    February 13th, 2011 04:04 AM
    jota_rdk
    WOW It works!
    Thanks!! :D
  2. FL
    February 9th, 2011 01:27 PM
    FL
    I found the answer =D
    Around line 1337 in PokeBattle_ActualScene put:

    Spoiler:
    when PBEnvironment::YYY
    id=ZZZ


    Were:
    YYY=Terrain night name
    ZZZ=Terrain night number
  3. jota_rdk
    February 6th, 2011 05:44 AM
    jota_rdk
    Nothing, doesn't work. And my clock is not wrong configured because the events based on day/night system works perfectly. I don't know what is the problem
  4. FL
    February 6th, 2011 05:31 AM
    FL
    The only thing that I cold think is to use "PBDayNight.isNight?" instead of "PBDayNight.isDay?" (only change this). If this working you computer clock is wrong configured.
  5. jota_rdk
    February 6th, 2011 05:18 AM
    jota_rdk
    No, still not working
  6. FL
    February 6th, 2011 05:02 AM
    FL
    It's working on my PC. You are fighting a wild pokémon or a trainer? Try the TallGrass.
    Grass=Trainer battle
    TallGrass=Wild pokémon
  7. jota_rdk
    February 6th, 2011 03:42 AM
    jota_rdk
    No, it doesn't works.

    PBEnvironment:
    Quote:
    #52687037
    begin
    class PBEnvironment
    None=0
    Grass=1
    TallGrass=2
    MovingWater=3
    StillWater=4
    Underwater=5
    Rock=6
    Cave=7
    Sand=8
    GrassNight=9

    end
    rescue Exception
    if $!.is_a?(SystemExit) || "#{$!.class}"=="Reset"
    raise $!
    else
    end
    end
    PokemonField:
    Quote:
    [...]
    terrain=$game_player.terrain_tag
    if terrain==PBTerrain::Grass # Normal grass
    time=Time.now
    if PBDayNight.isDay?
    return PBEnvironment::Grass
    else
    return PBEnvironment::GrassNight
    end
    elsif terrain==PBTerrain::TallGrass # Tall grass
    return PBEnvironment::TallGrass
    [...]
    When it is night, appear day's battle background, why? (I have already placed the graphic in pictures folder)

    [Green - modified]
  8. FL
    February 5th, 2011 05:37 PM
    FL
    Put a "end" above the bold line
  9. jota_rdk
    February 5th, 2011 04:46 PM
    jota_rdk
    Uff, I can not do it. I made this:

    Quote:
    time=Time.now
    if PBDayNight.isDay? # Normal grass
    return PBEnvironment::Grass
    else
    return PBEnvironment::Grassnight
    elsif terrain==PBTerrain::TallGrass # Tall grass
    Green - edited
    Bold - error (not edited)

    What happen?
  10. FL
    February 5th, 2011 04:09 PM
    FL
    Okay,
    XXX=Terrain name
    YYY=Terrain night name
    ZZZ=Terrain night number

    Edit on PBEnvironment (script) and below "Sand=8" put for every YYY:
    YYY=ZZZ
    And place in Pictures folder:
    Graphics/Pictures/battlebgZZZ.png
    Graphics/Pictures/playerbaseZZZ.png
    Graphics/Pictures/enemybaseZZZ.png

    In around line 1111 on PokemonField (script) substitute every
    Spoiler:
    return PBEnvironment::XXX

    for
    Spoiler:
    time=Time.now
    if PBDayNight.isDay?
    return PBEnvironment::XXX
    else
    return PBEnvironment::YYY
    end

All times are UTC -8. The time now is 11:22 PM.