changeset 149:79ffbd639b41

made a map of what I know about pokemon layout so far.
author Robert McIntyre <rlm@mit.edu>
date Mon, 19 Mar 2012 23:27:43 -0500
parents 06426d25c65b
children 544a97ac3d8a
files clojure/com/aurellem/exp/pokemon-layout clojure/com/aurellem/exp/pokemon.clj
diffstat 2 files changed, 445 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clojure/com/aurellem/exp/pokemon-layout	Mon Mar 19 23:27:43 2012 -0500
     1.3 @@ -0,0 +1,442 @@
     1.4 +D162                   number of pokemon in party
     1.5 +D163                   
     1.6 +D164                   
     1.7 +D165                   
     1.8 +D166                   
     1.9 +D167                   
    1.10 +D168                   
    1.11 +D169                   
    1.12 +D16A                   
    1.13 +D16B                   
    1.14 +D16C                   
    1.15 +D16D                   
    1.16 +D16E                   
    1.17 +D16F                   
    1.18 +D170                   
    1.19 +D171                   
    1.20 +D172                   
    1.21 +D173                   
    1.22 +D174                   
    1.23 +D175                   
    1.24 +D176                   
    1.25 +D177                   
    1.26 +D178                   
    1.27 +D179                   
    1.28 +D17A                   
    1.29 +D17B                   
    1.30 +D17C                   
    1.31 +D17D                   
    1.32 +D17E                   
    1.33 +D17F                   
    1.34 +D180                   
    1.35 +D181                   
    1.36 +D182                   
    1.37 +D183                   
    1.38 +D184                   
    1.39 +D185                   
    1.40 +D186                   
    1.41 +D187                   
    1.42 +D188                   
    1.43 +D189                   
    1.44 +D18A                   
    1.45 +D18B                   
    1.46 +D18C                   
    1.47 +D18D                   
    1.48 +D18E                   
    1.49 +D18F                   
    1.50 +D190                   
    1.51 +D191                   
    1.52 +D192                   
    1.53 +D193                   
    1.54 +D194                   
    1.55 +D195                   
    1.56 +D196                   
    1.57 +D197                   
    1.58 +D198                   
    1.59 +D199                   
    1.60 +D19A                   
    1.61 +D19B                   
    1.62 +D19C                   
    1.63 +D19D                   
    1.64 +D19E                   
    1.65 +D19F                   
    1.66 +D1A0                   
    1.67 +D1A1                   
    1.68 +D1A2                   
    1.69 +D1A3                   
    1.70 +D1A4                   
    1.71 +D1A5                   
    1.72 +D1A6                   
    1.73 +D1A7                   
    1.74 +D1A8                   
    1.75 +D1A9                   
    1.76 +D1AA                   
    1.77 +D1AB                   
    1.78 +D1AC                   
    1.79 +D1AD                   
    1.80 +D1AE                   
    1.81 +D1AF                   
    1.82 +D1B0                   
    1.83 +D1B1                   
    1.84 +D1B2                   
    1.85 +D1B3                   
    1.86 +D1B4                   
    1.87 +D1B5                   
    1.88 +D1B6                   
    1.89 +D1B7                   
    1.90 +D1B8                   
    1.91 +D1B9                   
    1.92 +D1BA                   
    1.93 +D1BB                   
    1.94 +D1BC                   
    1.95 +D1BD                   
    1.96 +D1BE                   
    1.97 +D1BF                   
    1.98 +D1C0                   
    1.99 +D1C1                   
   1.100 +D1C2                   
   1.101 +D1C3                   
   1.102 +D1C4                   
   1.103 +D1C5                   
   1.104 +D1C6                   
   1.105 +D1C7                   
   1.106 +D1C8                   
   1.107 +D1C9                   
   1.108 +D1CA                   
   1.109 +D1CB                   
   1.110 +D1CC                   
   1.111 +D1CD                   
   1.112 +D1CE                   
   1.113 +D1CF                   
   1.114 +D1D0                   
   1.115 +D1D1                   
   1.116 +D1D2                   
   1.117 +D1D3                   
   1.118 +D1D4                   
   1.119 +D1D5                   
   1.120 +D1D6                   
   1.121 +D1D7                   
   1.122 +D1D8                   
   1.123 +D1D9                   
   1.124 +D1DA                   
   1.125 +D1DB                   
   1.126 +D1DC                   
   1.127 +D1DD                   
   1.128 +D1DE                   
   1.129 +D1DF                   
   1.130 +D1E0                   
   1.131 +D1E1                   
   1.132 +D1E2                   
   1.133 +D1E3                   
   1.134 +D1E4                   
   1.135 +D1E5                   
   1.136 +D1E6                   
   1.137 +D1E7                   
   1.138 +D1E8                   
   1.139 +D1E9                   
   1.140 +D1EA                   
   1.141 +D1EB                   
   1.142 +D1EC                   
   1.143 +D1ED                   
   1.144 +D1EE                   
   1.145 +D1EF                   
   1.146 +D1F0                   
   1.147 +D1F1                   
   1.148 +D1F2                   
   1.149 +D1F3                   
   1.150 +D1F4                   
   1.151 +D1F5                   
   1.152 +D1F6                   
   1.153 +D1F7                   
   1.154 +D1F8                   
   1.155 +D1F9                   
   1.156 +D1FA                   
   1.157 +D1FB                   
   1.158 +D1FC                   
   1.159 +D1FD                   
   1.160 +D1FE                   
   1.161 +D1FF                   
   1.162 +D200                   
   1.163 +D201                   
   1.164 +D202                   
   1.165 +D203                   
   1.166 +D204                   
   1.167 +D205                   
   1.168 +D206                   
   1.169 +D207                   
   1.170 +D208                   
   1.171 +D209                   
   1.172 +D20A                   
   1.173 +D20B                   
   1.174 +D20C                   
   1.175 +D20D                   
   1.176 +D20E                   
   1.177 +D20F                   
   1.178 +D210                   
   1.179 +D211                   
   1.180 +D212                   
   1.181 +D213                   
   1.182 +D214                   
   1.183 +D215                   
   1.184 +D216                   
   1.185 +D217                   
   1.186 +D218                   
   1.187 +D219                   
   1.188 +D21A                   
   1.189 +D21B                   
   1.190 +D21C                   
   1.191 +D21D                   
   1.192 +D21E                   
   1.193 +D21F                   
   1.194 +D220                   
   1.195 +D221                   
   1.196 +D222                   
   1.197 +D223                   
   1.198 +D224                   
   1.199 +D225                   
   1.200 +D226                   
   1.201 +D227                   
   1.202 +D228                   
   1.203 +D229                   
   1.204 +D22A                   
   1.205 +D22B                   
   1.206 +D22C                   
   1.207 +D22D                   
   1.208 +D22E                   
   1.209 +D22F                   
   1.210 +D230                   
   1.211 +D231                   
   1.212 +D232                   
   1.213 +D233                   
   1.214 +D234                   
   1.215 +D235                   
   1.216 +D236                   
   1.217 +D237                   
   1.218 +D238                   
   1.219 +D239                   
   1.220 +D23A                   
   1.221 +D23B                   
   1.222 +D23C                   
   1.223 +D23D                   
   1.224 +D23E                   
   1.225 +D23F                   
   1.226 +D240                   
   1.227 +D241                   
   1.228 +D242                   
   1.229 +D243                   
   1.230 +D244                   
   1.231 +D245                   
   1.232 +D246                   
   1.233 +D247                   
   1.234 +D248                   
   1.235 +D249                   
   1.236 +D24A                   
   1.237 +D24B                   
   1.238 +D24C                   
   1.239 +D24D                   
   1.240 +D24E                   
   1.241 +D24F                   
   1.242 +D250                   
   1.243 +D251                   
   1.244 +D252                   
   1.245 +D253                   
   1.246 +D254                   
   1.247 +D255                   
   1.248 +D256                   
   1.249 +D257                   
   1.250 +D258                   
   1.251 +D259                   
   1.252 +D25A                   
   1.253 +D25B                   
   1.254 +D25C                   
   1.255 +D25D                   
   1.256 +D25E                   
   1.257 +D25F                   
   1.258 +D260                   
   1.259 +D261                   
   1.260 +D262                   
   1.261 +D263                   
   1.262 +D264                   
   1.263 +D265                   
   1.264 +D266                   
   1.265 +D267                   
   1.266 +D268                   
   1.267 +D269                   
   1.268 +D26A                   
   1.269 +D26B                   
   1.270 +D26C                   
   1.271 +D26D                   
   1.272 +D26E                   
   1.273 +D26F                   
   1.274 +D270                   
   1.275 +D271                   
   1.276 +D272                    ---	      
   1.277 +D273                   /	      
   1.278 +D274                   |	      
   1.279 +D275                   |	      
   1.280 +D276                   |	      
   1.281 +D277                   |  OT pokemon 1
   1.282 +D278                   |	      
   1.283 +D279                   |	      
   1.284 +D27A                   |	      
   1.285 +D27B                   \	      
   1.286 +D27C                    ---            
   1.287 +D27D                    ---	      
   1.288 +D27E                   /	      
   1.289 +D27F                   |	      
   1.290 +D280                   |	      
   1.291 +D281                   |	      
   1.292 +D282                   |  OT pokemon 2
   1.293 +D283                   |	      
   1.294 +D284                   |	      
   1.295 +D285                   |	      
   1.296 +D286                   \	      
   1.297 +D287                    ---           
   1.298 +D288                    ---	      
   1.299 +D289                   /	      
   1.300 +D28A                   |	      
   1.301 +D28B                   |	      
   1.302 +D28C                   |	      
   1.303 +D28D                   |  OT pokemon 3
   1.304 +D28E                   |	      
   1.305 +D28F                   |	      
   1.306 +D290                   |	      
   1.307 +D291                   \	      
   1.308 +D292                    ---           
   1.309 +D293                    ---	      
   1.310 +D294                   /	      
   1.311 +D295                   |	      
   1.312 +D296                   |	      
   1.313 +D297                   |	      
   1.314 +D298                   |  OT pokemon 4
   1.315 +D299                   |	      
   1.316 +D29A                   |	      
   1.317 +D29B                   |	      
   1.318 +D29C                   \	      
   1.319 +D29D                    ---           
   1.320 +D29E                    ---	      
   1.321 +D29F                   /	      
   1.322 +D2A0                   |	      
   1.323 +D2A1                   |	      
   1.324 +D2A2                   |	      
   1.325 +D2A3                   |  OT pokemon 5
   1.326 +D2A4                   |	      
   1.327 +D2A5                   |	      
   1.328 +D2A6                   |	      
   1.329 +D2A7                   \	      
   1.330 +D2A8                    ---           
   1.331 +D2A9                    ---	      
   1.332 +D2AA                   /	      
   1.333 +D2AB                   |	      
   1.334 +D2AC                   |	      
   1.335 +D2AD                   |	      
   1.336 +D2AE                   |  OT pokemon 6
   1.337 +D2AF                   |	      
   1.338 +D2B0                   |	      
   1.339 +D2B1                   |	      
   1.340 +D2B2                   \	      
   1.341 +D2B3                    ---           
   1.342 +D2B4                    ---	      	 
   1.343 +D2B5                   /	      	 
   1.344 +D2B6                   |	      	 
   1.345 +D2B7                   |	      	 
   1.346 +D2B8                   |	      	 
   1.347 +D2B9                   |  Pokemon 1 Name 
   1.348 +D2BA                   |	      	 
   1.349 +D2BB                   |	      	 
   1.350 +D2BC                   |	      	 
   1.351 +D2BD                   \	      	 
   1.352 +D2BE                    ---              
   1.353 +D2BF                    ---	      	 
   1.354 +D2C0                   /	      	 
   1.355 +D2C1                   |	      	 
   1.356 +D2C2                   |	      	 
   1.357 +D2C3                   |	      	 
   1.358 +D2C4                   |  Pokemon 2 Name 
   1.359 +D2C5                   |	      	 
   1.360 +D2C6                   |	      	 
   1.361 +D2C7                   |	      	 
   1.362 +D2C8                   \	      	 
   1.363 +D2C9                    ---              
   1.364 +D2CA                    ---	      	 
   1.365 +D2CB                   /	      	 
   1.366 +D2CC                   |	      	 
   1.367 +D2CD                   |	      	 
   1.368 +D2CE                   |	      	 
   1.369 +D2CF                   |  Pokemon 3 Name 
   1.370 +D2D0                   |	      	 
   1.371 +D2D1                   |	      	 
   1.372 +D2D2                   |	      	 
   1.373 +D2D3                   \	      	 
   1.374 +D2D4                    ---              
   1.375 +D2D5                    ---	      	 
   1.376 +D2D6                   /	      	 
   1.377 +D2D7                   |	      	 
   1.378 +D2D8                   |	      	 
   1.379 +D2D9                   |	      	 
   1.380 +D2DA                   |  Pokemon 4 Name 
   1.381 +D2DB                   |	      	 
   1.382 +D2DC                   |	      	 
   1.383 +D2DD                   |	      	 
   1.384 +D2DE                   \	      	 
   1.385 +D2DF                    ---              
   1.386 +D2E0                    ---	      	 
   1.387 +D2E1                   /	      	 
   1.388 +D2E2                   |	      	 
   1.389 +D2E3                   |	      	 
   1.390 +D2E4                   |	      	 
   1.391 +D2E5                   |  Pokemon 5 Name 
   1.392 +D2E6                   |	      	 
   1.393 +D2E7                   |	      	 
   1.394 +D2E8                   |	      	 
   1.395 +D2E9                   \	      	 
   1.396 +D2EA                    ---              
   1.397 +D2EB                    ---	      	 
   1.398 +D2EC                   /	      	 
   1.399 +D2ED                   |	      	 
   1.400 +D2EE                   |	      	 
   1.401 +D2EF                   |	      	 
   1.402 +D2F0                   |  Pokemon 6 Name 
   1.403 +D2F1                   |	      	 
   1.404 +D2F2                   |	      	 
   1.405 +D2F3                   |	      	 
   1.406 +D2F4                   \	      	 
   1.407 +D2F5                    ---              
   1.408 +D2F6                   
   1.409 +D2F7                   
   1.410 +D2F8                   
   1.411 +D2F9                   
   1.412 +D2FA                   
   1.413 +D2FB                   
   1.414 +D2FC                   
   1.415 +D2FD                   
   1.416 +D2FE                   
   1.417 +D2FF                   
   1.418 +D300                   
   1.419 +D301                   
   1.420 +D302                   
   1.421 +D303                   
   1.422 +D304                   
   1.423 +D305                   
   1.424 +D306                   
   1.425 +D307                   
   1.426 +D308                   
   1.427 +D309                   
   1.428 +D30A                   
   1.429 +D30B                   
   1.430 +D30C                   
   1.431 +D30D                   
   1.432 +D30E                   
   1.433 +D30F                   
   1.434 +D310                   
   1.435 +D311                   
   1.436 +D312                   
   1.437 +D313                   
   1.438 +D314                   
   1.439 +D315                   
   1.440 +D316                   
   1.441 +D317                   
   1.442 +D318                   
   1.443 +D319                   
   1.444 +D31A                   
   1.445 +D31B              
   1.446 \ No newline at end of file
     2.1 --- a/clojure/com/aurellem/exp/pokemon.clj	Mon Mar 19 23:14:21 2012 -0500
     2.2 +++ b/clojure/com/aurellem/exp/pokemon.clj	Mon Mar 19 23:27:43 2012 -0500
     2.3 @@ -120,7 +120,7 @@
     2.4        (map (fn [character-code line]
     2.5               (println
     2.6                (format "0x%04X: " line)
     2.7 -                      (str (character-code->character character-code))))
     2.8 +              (str (character-code->character character-code))))
     2.9             (subvec (vec (memory state)) begin end)
    2.10             (range begin end)))
    2.11       state)
    2.12 @@ -396,8 +396,6 @@
    2.13  ;; two canidates : 0xD162 or 0xDA7F
    2.14  ;; they seem to always sum to 6...
    2.15  
    2.16 -
    2.17 -
    2.18  ;; try to set both of them when having only one pokemon.
    2.19  
    2.20  (defn change-party-number [^SaveState state new-num]
    2.21 @@ -452,7 +450,6 @@
    2.22        (concat (str->character-codes new-name) [end-of-name-marker])))
    2.23    ([n new-name]
    2.24       (rename-pokemon @current-state n new-name)))
    2.25 -                      
    2.26  
    2.27  ;; on further analysis, it appears that the original
    2.28  ;; trainer info for each pokemon is also stored together,
    2.29 @@ -490,4 +487,5 @@
    2.30  ;; PIKACHU stops following if you set it's OT to another name
    2.31  ;; and then back to you own.
    2.32  ;; But not if you set it to your own name, obviously.
    2.33 -     
    2.34 \ No newline at end of file
    2.35 +
    2.36 +