From 2130cf09ce0340eb1239160dd9ecce2583322391 Mon Sep 17 00:00:00 2001 From: elioat Date: Wed, 21 Dec 2022 22:13:29 -0500 Subject: * --- src/pokedex/pokedex.rkt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pokedex/pokedex.rkt b/src/pokedex/pokedex.rkt index 3f8d840..962d427 100644 --- a/src/pokedex/pokedex.rkt +++ b/src/pokedex/pokedex.rkt @@ -88,6 +88,8 @@ (inspector poke-data)) (displayln (~a "name: " (hash-ref poke-data "name"))) (displayln (~a "id: " (hash-ref poke-data "id"))) - (see-pokemon id)) + (see-pokemon (hash-ref poke-data "name"))) ; using name here prevents duplicate files with different names, id.png v name.png -(poke "zapdos") \ No newline at end of file +(poke "zapdos") +(poke 74) +(poke "charizard") -- cgit 1.4.1-2-gfad0