<snapdata remixID="9027783"><project name="Pokemon list project " app="Snap! 5.1, http://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,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</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" volume="100" pan="0" lines="round" ternary="false" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCC</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="0.5123339658443911" y="-0.6261859582542115" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="657" y="20"><block s="receiveKey"><l><option>space</option></l></block><custom-block s="Clear Pokedex"></custom-block></script><script x="37" y="288"><block s="receiveKey"><l><option>f</option></l></block><custom-block s="Find Pokemon"></custom-block></script><script x="201.7763641875" y="14"><block s="receiveGo"></block><block s="doSetVar"><l>Pokedex</l><block s="reportNewList"><list></list></block></block></script><script x="78.77636418750001" y="112"><block s="receiveInteraction"><l><option>clicked</option></l></block><custom-block s="Adding pokemon to Pokedex"></custom-block></script><script x="595" y="307"><block s="receiveKey"><l><option>v</option></l></block><custom-block s="Find Pokemon levels"></custom-block></script></scripts></sprite><watcher var="Pokedex" style="normal" x="10.685416666667152" y="11.07708333333332" color="243,118,29" extX="80" extY="70"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="label %&apos;text&apos; of size %&apos;size&apos;" type="command" category="pen"><comment x="0" y="0" w="90" collapsed="false">LABEL will stamp text on the stage at the given font size. The direction of the text is the direction the sprite is facing, and color will match the pen color.</comment><header></header><code></code><translations></translations><inputs><input type="%txt">Hello!</input><input type="%n">12</input></inputs><script><block s="doRun"><block s="reportJSFunction"><list><l>text</l><l>size</l></list><l>var stage = this.parentThatIsA(StageMorph),&#xD;    context = stage.penTrails().getContext(&apos;2d&apos;),&#xD;    rotation = radians(this.direction() - 90),&#xD;    trans = new Point(&#xD;      this.center().x - stage.left(),&#xD;      this.center().y - stage.top()&#xD;    ),&#xD;    isWarped = this.Warped,&#xD;    len,&#xD;    pos;&#xD;&#xD;if (isWarped) {endWarp(); }&#xD;context.save();&#xD;context.font = size + &apos;px monospace&apos;;&#xD;context.textAlign = &apos;left&apos;;&#xD;context.textBaseline = &apos;alphabetic&apos;;&#xD;context.fillStyle = this.color.toString();&#xD;len = context.measureText(text).width;&#xD;trans = trans.multiplyBy(1 / stage.scale);&#xD;context.translate(trans.x, trans.y);&#xD;context.rotate(rotation);&#xD;context.fillText(text, 0, 0);&#xD;context.translate(-trans.x, -trans.y);&#xD;context.restore();&#xD;pos = new Point(&#xD;  len * Math.sin(radians(this.direction())),&#xD;  len * Math.cos(radians(this.direction())));&#xD;pos = pos.add(new Point(this.xPosition(), this.yPosition()));&#xD;this.gotoXY(pos.x, pos.y, false);&#xD;this.changed();&#xD;if (isWarped) {this.startWarp(); }&#xD;stage.changed();</l></block><list><block var="text"/><block var="size"/></list></block></script></block-definition><block-definition s="map %&apos;function&apos; over %&apos;lists&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%mult%l"></input></inputs><script><block s="doWarp"><script><block s="doDeclareVariables"><list><l>mapone</l><l>mapmany</l></list></block><block s="doSetVar"><l>mapone</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="evaluate"><block var="mapone"/><list><block s="reportCDR"><block var="data"/></block></list></block></block></block></script><list><l>data</l></list></block></block><block s="doSetVar"><l>mapmany</l><block s="reifyScript"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportListItem"><l>1</l><block var="data lists"/></block></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doReport"><block s="reportCONS"><block s="evaluate"><block var="function"/><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportListItem"><l>1</l><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></block><block s="evaluate"><block var="mapmany"/><list><custom-block s="map %repRing over %mult%l"><block s="reifyReporter"><autolambda><block s="reportCDR"><l/></block></autolambda><list></list></block><list><block var="data lists"/></list></custom-block></list></block></block></block></script><list><l>data lists</l></list></block></block><block s="doIfElse"><custom-block s="empty? %l"><block s="reportCDR"><block var="lists"/></block></custom-block><script><block s="doReport"><block s="evaluate"><block var="mapone"/><list><block s="reportListItem"><l>1</l><block var="lists"/></block></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="mapmany"/><list><block var="lists"/></list></block></block></script></block></script></block></script></block-definition><block-definition s="empty? %&apos;data&apos;" type="predicate" category="lists"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportEquals"><block var="data"/><block s="reportNewList"><list></list></block></block></block></script></block-definition><block-definition s="keep items such that %&apos;pred&apos; from %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%predRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doReport"><block s="reportNewList"><list></list></block></block></script></block><block s="doIfElse"><block s="evaluate"><block var="pred"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><script><block s="doReport"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></block></script><script><block s="doReport"><custom-block s="keep items such that %predRing from %l"><block var="pred"/><block s="reportCDR"><block var="data"/></block></custom-block></block></script></block></script></block></script></block-definition><block-definition s="combine with %&apos;function&apos; items of %&apos;data&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%repRing"></input><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="data"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="data"/></block></block></script></block><block s="doReport"><block s="evaluate"><block var="function"/><list><block s="reportListItem"><l>1</l><block var="data"/></block><custom-block s="combine with %repRing items of %l"><block var="function"/><block s="reportCDR"><block var="data"/></block></custom-block></list></block></block></script></block></script></block-definition><block-definition s="for %&apos;i&apos; = %&apos;start&apos; to %&apos;end&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%n">1</input><input type="%n">10</input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>step</l><l>tester</l></list></block><block s="doIfElse"><block s="reportGreaterThan"><block var="start"/><block var="end"/></block><script><block s="doSetVar"><l>step</l><l>-1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportLessThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script><script><block s="doSetVar"><l>step</l><l>1</l></block><block s="doSetVar"><l>tester</l><block s="reifyReporter"><autolambda><block s="reportGreaterThan"><block var="i"/><block var="end"/></block></autolambda><list></list></block></block></script></block><block s="doSetVar"><l>i</l><block var="start"/></block><block s="doUntil"><block s="evaluate"><block var="tester"/><list></list></block><script><block s="doRun"><block var="action"/><list></list></block><block s="doChangeVar"><l>i</l><block var="step"/></block></script></block></script></block-definition><block-definition s="join words %&apos;words&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%mult%txt"></input></inputs><script><block s="doWarp"><script><block s="doIf"><custom-block s="empty? %l"><block s="reportCDR"><block var="words"/></block></custom-block><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="words"/></block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>1</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></block></script></block><block s="doIf"><block s="reportEquals"><l></l><block s="reportListItem"><l>2</l><block var="words"/></block></block><script><block s="doReport"><custom-block s="join words %mult%txt"><block s="reportCONS"><block s="reportListItem"><l>1</l><block var="words"/></block><block s="reportCDR"><block s="reportCDR"><block var="words"/></block></block></block></custom-block></block></script></block><block s="doReport"><block s="reportJoinWords"><list><block s="reportListItem"><l>1</l><block var="words"/></block><l> </l><custom-block s="join words %mult%txt"><block s="reportCDR"><block var="words"/></block></custom-block></list></block></block></script></block></script><scripts><script x="229.000003" y="196.77778077777774"><block s="reportJoinWords"><list><l></l><l></l></list></block></script></scripts></block-definition><block-definition s="list $arrowRight sentence %&apos;data&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><custom-block s="join words %mult%txt"><block var="data"/></custom-block></block></script></block></script></block-definition><block-definition s="sentence $arrowRight list %&apos;text&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="text"/><l><option>whitespace</option></l></block></block></script></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%cs"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doRun"><block var="action"/><list></list></block></script><list><l>cont</l></list></block></block><custom-block s="ignore %s"><l>3</l></custom-block></script></block-definition><block-definition s="throw %&apos;cont&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input></inputs><script><block s="doRun"><block var="cont"/><list></list></block></script></block-definition><block-definition s="catch %&apos;tag&apos; %&apos;value&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%anyUE"></input></inputs><script><block s="doCallCC"><block s="reifyScript"><script><block s="doSetVar"><l>tag</l><block var="cont"/></block><block s="doReport"><block s="evaluate"><block var="value"/><list></list></block></block></script><list><l>cont</l></list></block></block></script></block-definition><block-definition s="throw %&apos;tag&apos; %&apos;value&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">catchtag</input><input type="%s"></input></inputs><script><block s="doRun"><block var="tag"/><list><block var="value"/></list></block></script></block-definition><block-definition s="for each %&apos;item&apos; of %&apos;data&apos; %&apos;action&apos;" type="command" category="lists"><header></header><code></code><translations></translations><inputs><input type="%upvar"></input><input type="%l"></input><input type="%cs"></input></inputs><script><block s="doUntil"><custom-block s="empty? %l"><block var="data"/></custom-block><script><block s="doSetVar"><l>item</l><block s="reportListItem"><l>1</l><block var="data"/></block></block><block s="doRun"><block var="action"/><list><block s="reportListItem"><l>1</l><block var="data"/></block></list></block><block s="doSetVar"><l>data</l><block s="reportCDR"><block var="data"/></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; do %&apos;action&apos; and pause all $pause-1-255-220-0" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%boolUE"></input><input type="%cs"></input></inputs><script><block s="doDeclareVariables"><list><l>breakpoint</l></list></block><block s="doIf"><block s="evaluate"><block var="test"/><list></list></block><script><block s="doSetVar"><l>breakpoint</l><block var="test"/></block><block s="doShowVar"><l>breakpoint</l></block><block s="doRun"><block var="action"/><list></list></block><block s="doPauseAll"></block><block s="doHideVar"><l></l></block></script></block></script></block-definition><block-definition s="word $arrowRight list %&apos;word&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportTextSplit"><block var="word"/><l><option>letter</option></l></block></block></script></block></script></block-definition><block-definition s="ignore %&apos;x&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs></block-definition><block-definition s="tell %&apos;sprite&apos; to %&apos;action&apos;" type="command" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%cs"></input></inputs><script><block s="doRun"><block s="reportAttributeOf"><block var="action"/><block var="sprite"/></block><list></list></block></script></block-definition><block-definition s="ask %&apos;sprite&apos; for %&apos;expression&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%s">Sprite</input><input type="%repRing"></input></inputs><script><block s="doReport"><block s="evaluate"><block s="reportAttributeOf"><block var="expression"/><block var="sprite"/></block><list></list></block></block></script></block-definition><block-definition s="list $arrowRight word %&apos;list&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doWarp"><script><block s="doReport"><block s="reportJoinWords"><block var="list"/></block></block></script></block></script></block-definition><block-definition s="string %&apos;big&apos; contains %&apos;small&apos; ?" type="predicate" category="operators"><header></header><code></code><translations></translations><inputs><input type="%txt"></input><input type="%txt"></input></inputs><script><block s="doIfElse"><block s="reportLessThan"><block s="evaluate"><block s="reportJSFunction"><list><l>big</l><l>small</l></list><l>return big.toLowerCase().indexOf(small.toLowerCase());</l></block><list><block var="big"/><block var="small"/></list></block><l>0</l></block><script><block s="doReport"><block s="reportBoolean"><l><bool>false</bool></l></block></block></script><script><block s="doReport"><block s="reportBoolean"><l><bool>true</bool></l></block></block></script></block></script></block-definition><block-definition s="if %&apos;test&apos; then %&apos;true&apos; else %&apos;false&apos;" type="reporter" category="control"><header></header><code></code><translations></translations><inputs><input type="%b"></input><input type="%anyUE"></input><input type="%anyUE"></input></inputs><script><block s="doIfElse"><block var="test"/><script><block s="doReport"><block s="evaluate"><block var="true"/><list></list></block></block></script><script><block s="doReport"><block s="evaluate"><block var="false"/><list></list></block></block></script></block></script></block-definition><block-definition s="pokemon name: %&apos;pk name&apos; pokemon type: %&apos;pk type&apos; pokemon levels %&apos;pk level&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%s"></input><input type="%s"></input></inputs><script><block s="doReport"><block s="reportNewList"><list><block var="pk name"/><block var="pk type"/><block var="pk level"/></list></block></block></script></block-definition><block-definition s="ask pokemon name" type="reporter" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>pokemon?</l></block><block s="doReport"><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="ask pokemon type" type="reporter" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>type?</l></block><block s="doReport"><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="ask pokemon level" type="reporter" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>pokemon level?</l></block><block s="doReport"><block s="getLastAnswer"></block></block></script></block-definition><block-definition s="pokemon name %&apos;name of pokemon&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>1</l><block var="name of pokemon"/></block></block></script><scripts><script x="371.279298875" y="88.00000299999999"><block var="Pokedex"/></script></scripts></block-definition><block-definition s="pokemon type %&apos;pk type&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>2</l><block var="pk type"/></block></block></script></block-definition><block-definition s="pokemon level %&apos;pk level&apos;" type="reporter" category="operators"><header></header><code></code><translations></translations><inputs><input type="%l"></input></inputs><script><block s="doReport"><block s="reportListItem"><l>3</l><block var="pk level"/></block></block></script></block-definition><block-definition s="Find Pokemon Name %&apos;pokemon name&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportKeep"><block s="reifyPredicate"><autolambda><custom-block s="string %txt contains %txt ?"><custom-block s="pokemon name %l"><l/></custom-block><block var="pokemon name"/></custom-block></autolambda><list></list></block><block var="Pokedex"/></block></block></script></block-definition><block-definition s="Find Pokemon type %&apos;type&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportKeep"><block s="reifyPredicate"><autolambda><custom-block s="string %txt contains %txt ?"><custom-block s="pokemon type %l"><l/></custom-block><block var="type"/></custom-block></autolambda><list></list></block><block var="Pokedex"/></block></block></script></block-definition><block-definition s="Find Pokemon level %&apos;pk level&apos;" type="reporter" category="lists"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block s="doReport"><block s="reportKeep"><block s="reifyPredicate"><autolambda><custom-block s="string %txt contains %txt ?"><custom-block s="pokemon level %l"><l/></custom-block><block var="pk level"/></custom-block></autolambda><list></list></block><block var="Pokedex"/></block></block></script></block-definition><block-definition s="Find Pokemon" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doHideVar"><l>Pokedex</l></block><block s="doAsk"><l>What do you want to find on the Pokedex?</l></block><block s="doIfElse"><block s="reportListIsEmpty"><custom-block s="Find Pokemon Name %s"><block s="getLastAnswer"></block></custom-block></block><script><block s="doSayFor"><l>No pokemon to be found.</l><l>1</l></block><block s="doAsk"><l>Do you want to add it to the list? </l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doAddToList"><custom-block s="pokemon name: %s pokemon type: %s pokemon levels %s"><custom-block s="ask pokemon name"></custom-block><custom-block s="ask pokemon type"></custom-block><custom-block s="ask pokemon level"></custom-block></custom-block><block var="Pokedex"/></block></script><script><block s="doSayFor"><l>Ok trainer.</l><l>1</l></block></script></block></script><script><block s="doSayFor"><custom-block s="Find Pokemon Name %s"><block s="getLastAnswer"></block></custom-block><l>2</l></block></script></block><block s="doShowVar"><l>Pokedex</l></block></script></block-definition><block-definition s="Clear Pokedex" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAsk"><l>Do you want to clear your Pokedex?</l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doAsk"><l>Are you sure you want to clear your Pokedex?</l></block><block s="doIf"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doSetVar"><l>Pokedex</l><block s="reportNewList"><list></list></block></block></script></block></script><script><block s="doSayFor"><l>Okay</l><l>2</l></block></script></block></script></block-definition><block-definition s="Find Pokemon levels" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doShowVar"><l>Pokedex</l></block><block s="doAsk"><l>What levels do you want to find?</l></block><block s="doIfElse"><block s="reportListIsEmpty"><custom-block s="Find Pokemon level %s"><block s="getLastAnswer"></block></custom-block></block><script><block s="doSayFor"><l>No level to be found</l><l>1</l></block><block s="doAsk"><l>Do you want to add it to the list? </l></block><block s="doIfElse"><block s="reportEquals"><block s="getLastAnswer"></block><l>yes</l></block><script><block s="doAddToList"><custom-block s="pokemon name: %s pokemon type: %s pokemon levels %s"><custom-block s="ask pokemon name"></custom-block><custom-block s="ask pokemon type"></custom-block><custom-block s="ask pokemon level"></custom-block></custom-block><block var="Pokedex"/></block></script><script><block s="doSayFor"><l>Ok trainer.</l><l>1</l></block></script></block></script><script><block s="doSayFor"><custom-block s="Find Pokemon level %s"><block s="getLastAnswer"></block></custom-block><l>2</l></block></script></block></script></block-definition><block-definition s="Adding pokemon to Pokedex" type="command" category="lists"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doAddToList"><custom-block s="pokemon name: %s pokemon type: %s pokemon levels %s"><custom-block s="ask pokemon name"></custom-block><custom-block s="ask pokemon type"></custom-block><custom-block s="ask pokemon level"></custom-block></custom-block><block var="Pokedex"/></block></script></block-definition></blocks><variables><variable name="Pokedex"><list struct="atomic" id="894"></list></variable></variables></project><media name="Pokemon list project " app="Snap! 5.1, http://snap.berkeley.edu" version="1"></media></snapdata>