summaryrefslogtreecommitdiff
path: root/app/views/pokedex/show.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2023-11-02 20:56:31 -0400
committerDavid Gay <david@davidgay.org>2023-11-02 20:56:31 -0400
commit62ee310cfca4bea35db9f98cd621e7ad5120c77b (patch)
tree80f34ae58ad68a4bc3217c2c4575b7a9c13dff18 /app/views/pokedex/show.html.erb
parent4cb128fa24da1d960a20b981aac7b82e2868db26 (diff)
Gen 3 sprites and csv
Diffstat (limited to 'app/views/pokedex/show.html.erb')
-rw-r--r--app/views/pokedex/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/pokedex/show.html.erb b/app/views/pokedex/show.html.erb
index 4d5545b..f920b19 100644
--- a/app/views/pokedex/show.html.erb
+++ b/app/views/pokedex/show.html.erb
@@ -3,7 +3,7 @@
<div class="flex flex-wrap gap-4">
<% Pokemon.order(:pokedex_num).each do |pokemon| %>
- <% break if pokemon.pokedex_num.to_i > 251 %>
+ <% break if pokemon.pokedex_num.to_i > 386 # Up through gen 3. %>
<div class="flex flex-col flex-auto items-center w-[100px] bg-white
border border-orange-900 rounded shadow">
<div class="flex-1 text-display text-center">No. <%= pokemon.pokedex_num %></div>