[Fixed] ADV sleep

Discussion in 'Solved Bugs' started by fitzy, Jul 14, 2015.

  1. fitzy

    fitzy Heart of the cards Forum Moderator Forum Moderator

    Joined:
    Apr 16, 2012
    Messages:
    883
    Likes Received:
    296
    http://www.smogon.com/forums/threads/new-mechanic-sleep-talk-doesnt-burn-sleep-turns.3544205/

    Gen III: Fix sleep count interaction with Sleep Talk/Snore

    - Basically, a counter separate from the sleep counter starts at 0, and attempting to use Sleep Talk or Snore while asleep increments it by 1.
    - If the Pokemon attempts to use any other move while asleep, this counter is reset to 0.
    - If the Pokemon switches out while asleep, the current value of the counter is added to the sleep counter.

    Posting so it gets done.
     
    Finchinator and Isa like this.
  2. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Fixed I'm pretty sure

    Uses Rest -> Snore -> Switch -> Switch Back -> Asleep for 2 turns (2 - 1 + 1 = 2, or Rest Duration - Turns Passed + Turns Spent Sleep Attacking)
    Start of turn 1
    The foe's Smeargle used Cut!
    Smeargle lost 45 HP! (17% of its health)

    Smeargle used Cut!
    The foe's Smeargle lost 16% of its health!

    Start of turn 2
    The foe's Smeargle used Rest!

    The foe's Smeargle went to sleep and became healthy!

    Smeargle used Splash!
    But nothing happened!

    Start of turn 3
    Smeargle used Splash!
    But nothing happened!

    The foe's Smeargle is fast asleep.
    The foe's Smeargle used Snore!
    A critical hit!
    Smeargle lost 73 HP! (29% of its health)

    Start of turn 4
    Fuzzysqurl2 called Smeargle back!
    Fuzzysqurl2 sent out Mudkip!

    Smeargle used Splash!
    But nothing happened!

    Start of turn 5
    Fuzzysqurl2 called Mudkip back!
    Fuzzysqurl2 sent out Smeargle!

    Smeargle used Splash!
    But nothing happened!

    Start of turn 6
    Smeargle used Splash!
    But nothing happened!
    The foe's Smeargle is fast asleep.

    Start of turn 7
    The foe's Smeargle is fast asleep.

    Smeargle used Splash!
    But nothing happened!

    Start of turn 8
    Smeargle used Splash!
    But nothing happened!

    The foe's Smeargle woke up!
    The foe's Smeargle used Splash!
    But nothing happened!


    Both use Rest -> One Snores, the other Splashes for 2 turns -> both switch out and back in.
    The one that used Splash wakes up immediately (2 - 2 + 0 = 0)
    The one that used Snore still sleeps for 2 turns (2 - 2 + 2 = 2)
    [Note: I used Splash on both upon switching back in]
    Start of turn 14
    The foe's Smeargle used Rest!
    The foe's Smeargle went to sleep and became healthy!

    Smeargle used Rest!
    Smeargle went to sleep and became healthy!

    Start of turn 15
    Smeargle is fast asleep.
    Smeargle used Snore!
    The foe's Smeargle lost 13% of its health!
    The foe's Smeargle is fast asleep.

    Start of turn 16
    The foe's Smeargle is fast asleep.

    Smeargle is fast asleep.
    Smeargle used Snore!
    The foe's Smeargle lost 14% of its health!

    Start of turn 17
    Fuzzysqurl called Smeargle back!
    Fuzzysqurl sent out Mudkip!
    Fuzzysqurl2 called Smeargle back!
    Fuzzysqurl2 sent out Mudkip!

    Start of turn 18
    Fuzzysqurl called Mudkip back!
    Fuzzysqurl sent out Smeargle!

    Fuzzysqurl2 called Mudkip back!
    Fuzzysqurl2 sent out Smeargle!

    Start of turn 19
    The foe's Smeargle woke up!
    The foe's Smeargle used Splash!
    But nothing happened!

    Smeargle is fast asleep.

    Start of turn 20
    The foe's Smeargle used Splash!
    But nothing happened!

    Smeargle is fast asleep.

    Start of turn 21
    Smeargle woke up!
    Smeargle used Splash!
    But nothing happened!

    The foe's Smeargle used Splash!
    But nothing happened!