Tetris, you all know it, you know it's on everything ever. It's also on WonderSwan.
This verison is notable for being one of the first official Tetris game to follow the Tetris Guideline that's still in use today over 20 years later, alongside Tetris Worlds.
Unfortunately this version is also notable for not clearing lines properly.

Game objectives

  • Emulator used: BizHawk 2.6.2 (sorry i forgor to update bizhawk)
  • Clear no lines yourself because that's lame
  • Use the funny line clear bug by stacking a 4 rows above the screen
  • Let the game play itself while it's not running the clock as fas as TAS timing is concerned because the inputs already ended
  • beat my actual 40 lines pb while we're at it

Thought process about the run

What do you mean "not clearing lines properly"?

When it comes to making Tetris games, when you make a full line, the game is supposed to remove it and make the rest of the stack above it fall one row. In practice, the easiest way to achieve this is by copying the row above the full line into the full line, then the row above that one into it, and you keep going until you reach the top of the playing field. So for example, if you fill the 4th row from the floor, row 5 gets copied to row 4, row 6 gets copied to row 5, row 7 gets copied to row 6, and so on. However, when you do this, you have to remember to then replace the highest row of the field with an empty row, otherwise you end up with the stack falling as usual, but whatever was in that row ends up copied into the row below, and nothing happends to the highest row, and it ends up duplicated. This is exactly what happens in WonderSwan Tetris: the field is actually 24 rows high (4 rows are invisible above where pieces appear), so row 24 gets copied down on every line clear, although the devs probably didn't notice because they never realised you could actually place pieces that high.

Actually placing pieces that high

As this game follows the Tetris Guideline, the pieces in the game rotate according to the standard Super Rotation System. This is good because there are a few situations where we can force the piece to move two cells up. The ones I use the most in the run look like this:
            [][][]
  [][]          []
  []#### ->     ####
  []####        ####

            [][]
    []        [][]
  [][]            
  []#### ->     ####
    ####        ####

 
              [][][]
  [][]        []
####[]   -> ####
####[]      ####

                [][]
  []          [][]
  [][]          
####[]   -> ####
####        ####
Those moves allow us to place pieces into row 24 by building a field like this and making L/J pieces climp to the top:
()()()        ()()()
()  ^          ^  ()
##  ^          ^  ##
##()()        ()()##
####()        ()####
##  ()        ()  ##
This fills 6 of the 10 cells of row 24, and we can fill the last 4 by building some support and finagling a long bar to kick itself all the way up there. I ended up using this sequence of moves to get it where I needed.

A couple caveats

Row 24 is now full, but it won't actually clear right away. The game in fact only checks for line clears on rows that are actually visible. This is why we build a Tetris well at the start of the run, so that we can then clear 4 lines and copy our row 24 contents into the visible field.
Unfortunately, the top of the visible field is also where our pieces appear, and if they appear in a wall, it's usually game over. It does end up being a problem when building to get pieces up high, but fortunately for us, the game straight up forgets to check whether our piece spawn location is blocked right after clearing a line for whatever reason, so once our line from row 24 gets copied into the visible field, that line gets cleared every time we place a piece so we don't have to worry about being blocked anymore, and we can let the game finish.

Other notes and stuff

This run can most likely be improved of course. While you can't manipulate the piece sequence once you've started like you can in NES Tetris, you can still get a different piece sequence by waiting on the title screen. I took the first piece sequence I could and worked with it until i found something that worked, but I did end up discarding a few pieces on the stack. There could be either a better sequence or a better strategy that could lead to a faster time.
Another thing to note is that this is trying to end the inputs as early as possible, rather than get the fastest in-game time. You could do a variant of this run that aims for the fastest in-game 40 lines time, or do other things like bring that to Marathon, or even show the score completely freaking out by using this to clear 5 lines at once.
Ultimately though, like my previous submission, I mostly wanted to have fun by taking a silly premise in a Tetris game to make a tool-assisted run for. Happy April fools!

Darkman425: Something tells me your attic is a bit full.
Darkman425: This one was actually pretty fun to watch. The glitches were also pretty well explained and work when finding the minimal inputs needed to complete the 40 Lines mode. While there might be indeed a better possible piece RNG seed that seems like something that would be better suited for an improvement in the future due to the amount of work needed to check that.
Kids gotta learn about how weird the SRS works in practice someday. Accepting to Standard.

Spikestuff: Processing...


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15577
Location: 127.0.0.1
This topic is for the purpose of discussing #8172: Oshisaure's WSWAN Tetris "40 lines" in 00:08.82
Patashu
He/Him
Joined: 10/2/2005
Posts: 4043
Lmao this glitch is really cool
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Editor, Player (54)
Joined: 12/25/2004
Posts: 634
Location: Aguascalientes, Mexico
*starts watching the run looks like a normal speedrun *continues watching oh, looks like changes strategy to clear lines near the top *game ends and lines start to clear by itself o_O voted yes
I'm the best in the Universe! Remember that!
Moderator, Senior Ambassador, Experienced player (907)
Joined: 9/14/2008
Posts: 1014
Even with the slightly questionable goal choice I have to say this is pretty impressive! Well done!
I was laid off in May 2023 and became too ill to work this year and could use support via Patreon or onetime donations as work on TASBot Re: and TASBot HD is stalled. I'm dwangoAC, TASVideos Senior Ambassador and BDFL of the TASBot community; when healthy, I post TAS content on YouTube.com/dwangoAC based on livestreams from Twitch.tv/dwangoAC.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
This might not technically be fully optimal but I don't think it has to be, this is a really cool abuse of a very silly glitch, very nice work
Spikestuff
They/Them
Editor, Publisher, Expert player (2642)
Joined: 10/12/2011
Posts: 6438
Location: The land down under.
Oshisaure just asking cause I forgot to ask this. Do you have extended input for the initials or would just having "TAS" be more than enough? Note: This doesn't change the time from 8.82 for when the Movie's Published. It's just something extra.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Oshisaure
They/Them
Player (85)
Joined: 6/9/2017
Posts: 3
Location: France
Sorry for the late reply, I didn't do anything for the initials so yeah TAS is fine by me.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15577
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [5222] WSWAN Tetris "40 lines" by Oshisaure in 00:08.82