fork/training-mode-ce
git clone https://git.julia.blue/fork/training-mode-ce
305b2f6
techchase-camera
1#ifndef MEX_H_MATCH 2#define MEX_H_MATCH 3 4#include "structs.h" 5#include "datatypes.h" 6#include "obj.h" 7#include "fighter.h" 8#include "stage.h" 9#include "gx.h" 10 11// Match Data definitions 12#define MATCH_TIMER_FROZEN 0 13#define MATCH_TIMER_HIDE 1 14#define MATCH_TIMER_COUNTDOWN 2 15#define MATCH_TIMER_COUNTUP 3 16#define MATCH_MATCHTYPE_TIME 0 17#define MATCH_MATCHTYPE_STOCK 1 18#define MATCH_MATCHTYPE_COIN 2 19#define MATCH_HUDPOS_NONE 0 20#define MATCH_HUDPOS_ONE 1 21#define MATCH_HUDPOS_TWO 2 22#define MATCH_HUDPOS_THREE 3 23#define MATCH_HUDPOS_FOUR 4 24#define MATCH_HUDPOS_SIX 5 25#define MATCH_HUDPOS_UNK 6 26#define MATCH_HUDPOS_FOURCOMPACT 7 27#define MATCH_PAUSEHUD_HIDE 1 28#define MATCH_MATCHTYPE_STOCK 1 29#define MATCH_MATCHTYPE_COIN 2 30#define MATCH_ITEMFREQ_OFF -1 31#define MATCH_ITEMFREQ_VERYLOW 0 32#define MATCH_ITEMFREQ_LOW 1 33#define MATCH_ITEMFREQ_MEDIUM 2 34#define MATCH_ITEMFREQ_HIGH 3 35#define MATCH_ITEMFREQ_VERYHIGH 4 36 37enum MatchState 38{ 39MATCHSTATE_INPROG , 40MATCHSTATE_GAME , 41MATCHSTATE_EXIT , 42}; 43 44enum MatchEndKind 45{ 46MATCHENDKIND_NONE ,// hasn't ended yet? 47MATCHENDKIND_VSTIME ,// timeout in a VS match 48MATCHENDKIND_VSGAME ,// successful ending to a VS match 49MATCHENDKIND_3 ,// 50MATCHENDKIND_1PLOSE ,// used for dying in 1p games 51MATCHENDKIND_5 ,// 52MATCHENDKIND_1PWIN ,// winning a 1p game 53MATCHENDKIND_NOCONTEST ,// 54MATCHENDKIND_RETRY ,// stadium retry 55MATCHENDKIND_OVERRIDE ,// match end was requested by external code 56}; 57 58enum MatchPLinks 59{ 60// the game whitelists p_links 0,2,16,18,19,20,21,22,24+ to run on match pause 61MATCHPLINK_SYS , 62MATCHPLINK_1 , 63MATCHPLINK_2 , 64MATCHPLINK_LIGHT , 65MATCHPLINK_ZAKO , 66MATCHPLINK_MAP , 67MATCHPLINK_COLL , 68MATCHPLINK_7 , 69MATCHPLINK_FIGHTER , 70MATCHPLINK_ITEM , 71MATCHPLINK_10 , 72MATCHPLINK_EFFECT1 , 73MATCHPLINK_EFFECT2 , 74MATCHPLINK_MAPMISC , 75MATCHPLINK_MISC , 76MATCHPLINK_HUD , 77MATCHPLINK_16 , 78MATCHPLINK_17 , 79MATCHPLINK_MATCHCAM , 80MATCHPLINK_MISCCAM , 81MATCHPLINK_HUDCAM , 82MATCHPLINK_COINCAM , 83MATCHPLINK_SCREENFLASHCAM , 84MATCHPLINK_CROWDSFX , 85MATCHPLINK_DEVTEXT , 86}; 87 88enum MatchGXLinks 89{ 90MATCHGX_LIGHT ,// fog too i think? 91MATCHGX_POKEMONITOR ,// hrc signs use this as well 92MATCHGX_FODREFLECT , 93MATCHGX_STAGE , 94MATCHGX_4 , 95MATCHGX_FIGHTER , 96MATCHGX_ITEM , 97MATCHGX_EFFECT ,// in-game effects 98MATCHGX_HUDPTCL ,// effects used on hud, like stock disappearing 99MATCHGX_HUDTAGS ,// nametag jobj and text 100MATCHGX_HUDLIGHT ,// also used for coin lighting? 802ff060 101MATCHGX_HUD ,// stocks, percent, insignia, timer, READY, etc 102MATCHGX_12 , 103MATCHGX_13 , 104MATCHGX_14 , 105MATCHGX_COIN , 106MATCHGX_SCREENCOLANIM , 107MATCHGX_DEVELOPTEXT , 108}; 109 110typedef enum HitAttribute // these belong to items *and* fighters so im putting them here 111{ 112HITATTR_NORMAL , 113HITATTR_FIRE , 114HITATTR_ELEC , 115HITATTR_SLASH , 116HITATTR_COIN , 117HITATTR_ICE , 118HITATTR_SLEEPSHORT , 119HITATTR_SLEEPLONG , 120HITATTR_BURY , 121HITATTR_BURY2 , 122HITATTR_SPIN , 123HITATTR_EMPTY , 124HITATTR_DISABLE , 125HITATTR_DARK , 126HITATTR_SCREW , 127HITATTR_FLOWER , 128HITATTR_NULL , 129}HitAttribute ; 130 131typedef enum HitSFXKind // these belong to items *and* fighters so im putting them here 132{ 133HITSFX_NONE , 134HITSFX_PUNCH , 135HITSFX_KICK , 136HITSFX_SWORD , 137HITSFX_COIN , 138HITSFX_BAT , 139HITSFX_FAN , 140HITSFX_ELEC , 141HITSFX_FIRE , 142HITSFX_CHEW , 143HITSFX_SHELL , 144HITSFX_ENERGY , 145HITSFX_PEACHITEM , 146HITSFX_ICE , 147HITSFX_14 , 148HITSFX_15 , 149}HitSFXKind ; 150 151/*** Structs ***/ 152 153struct MatchInit 154{ 155// byte 0x0 156unsigned char matchType :3 ; 157unsigned char hudPos :3 ; 158unsigned char timer :2 ; 159// byte 0x1 160unsigned char timer_unk2 :1 ; 161unsigned char unk4 :1 ; 162unsigned char hideReady :1 ; 163unsigned char hideGo :1 ; 164unsigned char isDisableMusic :1 ; 165unsigned char unk3 :1 ; 166unsigned char timer_unk :1 ; 167unsigned char unk2 :1 ; 168// byte 0x2 169unsigned char unk9 :1 ; 170unsigned char disableOffscreenDamage :1 ; 171unsigned char unk8 :1 ; 172unsigned char isSingleButtonMode :1 ; 173unsigned char isDisablePause :1 ; 174unsigned char unk7 :1 ; 175unsigned char isCreateHUD :1 ; 176unsigned char unk5 :1 ; 177// byte 0x3 178unsigned char isShowScore :1 ;// 0x80 179unsigned char isShowAnalogStick :1 ;// 0x40 180unsigned char isCheckForZRetry :1 ;// 0x20 181unsigned char isShowZRetry :1 ;// 0x10 182unsigned char isCheckForLRAStart :1 ;// 0x08 183unsigned char isShowLRAStart :1 ;// 0x04 184unsigned char isHidePauseHUD :1 ;// 0x02 185unsigned char timerRunOnPause :1 ;// 0x01 186// byte 0x4 187unsigned char unk11 :1 ;// 0x80 188unsigned char isCheckStockSteal :1 ;// 0x40 189unsigned char isRunStockLogic :1 ;// 0x20 190unsigned char x4_10 :1 ;// 0x10 191unsigned char x4_08 :1 ;// 0x08 192unsigned char unk1f :3 ;// 0x1f 193// byte 0x5 194unsigned char no_check_end :1 ;// 0x80 195unsigned char isSkipUnkStockCheck :1 ;// 0x40 196unsigned char no_hit :1 ;// 0x20 197unsigned char unk12 :5 ;// 0x01 198u8 bombRain ;// 0x6 199u8 x7 ;// 0x7 200u8 is_teams ;// 0x8 201u8 use_ko_count ;// 0x9 202u8 xa ;// 0xA 203s8 itemFreq ;// 0xB 204s8 sd_penalty ;// 0xC 205u8 xd ;// 0xD 206u16 stage ;// 0xE 207int timer_seconds ;// 0x10 208u8 timer_subseconds ;// 0x14 209int x88 ;// 0x18 210u64 itemSwitch ;// 0x20 211int x28 ;// 0x28 212float quake_mult ;// 0x2C 213float dmg_ratio ;// 0x30 214float match_speed ;// 0x34 215int x38 ;// 0x38 216int x3c ;// 0x3C 217int x40 ;// 0x40 218void * onStartMelee ;// 0x44 219int x48 ;// 0x48 220int x4c ;// 0x4C 221void * onMatchEnd ;// 0x50 222int x54 ;// 0x54 223int x58 ;// 0x58 224int x5c ;// 0x5C 225 226// player data 227PlayerData playerData [6 ];// 0x60 228}; 229 230struct MatchHUDElement 231{ 232GOBJ * percent ; 233GOBJ * insignia ; 234u8 x8 ; 235u8 x9 ; 236u16 xa ; 237u16 xc ; 238u8 xe ; 239u8 xf ; 240unsigned char is_removed :1 ;// 0x80 - 0x10, related to destruction of percent digits 241unsigned char x10_40 :1 ;// 0x40 - 0x10, related to destruction of percent digits 242unsigned char x10_20 :1 ;// 0x20 - 0x10 243unsigned char x10_10 :1 ;// 0x10 - 0x10 244unsigned char is_hidden :1 ;// 0x08 - 0x10 245unsigned char x10_04 :1 ;// 0x04 - 0x10 246unsigned char x10_02 :1 ;// 0x02 - 0x10, 247unsigned char x10_01 :1 ;// 0x01 - 0x10 248u8 x11 ; 249u8 x12 ; 250u8 x13 ; 251float x14 [3 ];// 0x14 252float percent_digitpos [4 ];// 0x20, 3 digits and the percent sign 253int x30 [8 ];// 0x30 254JOBJ * x50 [5 ];// 0x50 255}; 256struct MatchHUDStock 257{ 258GOBJ * gobj ; 259JOBJ * jobj [17 ]; 260int curr_coins ; 261int curr_stocks ; 262}; 263struct MatchHUD 264{ 265GOBJ * cam_gobj ;// 0x0 266GOBJ * light_gobj ;// 0x4 267int x8 ;// 0x8 268// the following positions are derived from the ScInfDmg_scene_data symbol in IfAll 269Vec3 timer_pos ;// 0xc 270Vec3 player_hud_pos [6 ];// 0x18 271Vec3 joint8_pos [3 ];// 0x60 272Vec3 joint11_pos [2 ];// 0x84 273void * x9c ;// 0x9c 274GOBJ * timer_gobj ;// 0xA0 275u8 xa4 [0x4C ];// 0xA4 276MatchHUDElement element_data [6 ];// 0xF0 277JOBJSet dmgnum_jobjset ;// 0x348 278JOBJSet dmgmark_jobjset ;// 0x358 279JOBJSet * ScnInfStc_scene_models ;// 0x368 280u8 x36c [52 ];// 0x36c 281JOBJSet * stock_jobjset ;// 0x3a0 282JOBJSet * kocount_jobjset ;// 0x3a4 283MatchHUDStock stock [6 ];// 284}; 285 286struct CmSubject // internally CmSubject as evidenced by 80029074, formerly CameraBox 287{ 288void * alloc ;// 0x0 289CmSubject * next ;// 0x4 290int kind ;// 0x8 1 = disabled, 2 = only focus if close to center 291u8 flags_x80 :1 ;// 0xC 0x80 292u8 is_disable :1 ;// 0xC 0x40 293Vec3 cam_pos ;// 0x10 294Vec3 bone_pos ;// 0x1c 295float direction ;// 0x28 296float boundleft_curr ;// 0x2C 297float boundright_curr ;// 0x30 298float boundtop_curr ;// 0x34 299float boundbottom_curr ;// 0x38 300float x3c ;// 0x3c 301float boundleft_proj ;// 0x40 302float boundright_proj ;// 0x44 303float boundtop_proj ;// 0x48 304float boundbottom_proj ;// 0x4c 305float x50 ;// 0x50 306}; 307struct MatchCamera 308{ 309GOBJ * gobj ;// 0x0 310int cam_kind ;// 0x4 311GXColor erase_color ;// 0x8 312float near ;// 0xc 313float far ;// 0x10 314Vec3 x14_current ;// 0x14 315Vec3 x20_projected ;// 0x20 316Vec3 x2c_current ;// 0x2c 317Vec3 x38_projected ;// 0x38 318float normalcam_fov ;// 0x44 319float x48_projected ;// 0x48 320Vec3 x4c_current ;// 0x4c 321Vec3 x58_projected ;// 0x58 322Vec3 x64_current ;// 0x64 323Vec3 x70_projected ;// 0x70 324float x7c_current ;// 0x7c 325float x80_projected ;// 0x80 326int x84 ;// 0x84 327int x88 ;// 0x88 328int x8c ;// 0x8c 329int x90 ;// 0x90 330int x94 ;// 0x94 331int x98 ;// 0x98 332int x9c ;// 0x9c 333int xa0 ;// 0xa0 334int xa4 ;// 0xa4 335int xa8 ;// 0xa8 336int xac ;// 0xac 337int xb0 ;// 0xb0 338int xb4 ;// 0xb4 339int xb8 ;// 0xb8 340int xbc ;// 0xbc 341int xc0 ;// 0xc0 342int xc4 ;// 0xc4 343int xc8 ;// 0xc8 344int xcc ;// 0xcc 345int xd0 ;// 0xd0 346int xd4 ;// 0xd4 347int xd8 ;// 0xd8 348int xdc ;// 0xdc 349int xe0 ;// 0xe0 350int xe4 ;// 0xe4 351int xe8 ;// 0xe8 352int xec ;// 0xec 353int xf0 ;// 0xf0 354int xf4 ;// 0xf4 355int xf8 ;// 0xf8 356int xfc ;// 0xfc 357int x100 ;// 0x100 358int x104 ;// 0x104 359int x108 ;// 0x108 360int x10c ;// 0x10c 361int x110 ;// 0x110 362int x114 ;// 0x114 363int x118 ;// 0x118 364int x11c ;// 0x11c 365int x120 ;// 0x120 366int x124 ;// 0x124 367int x128 ;// 0x128 368int x12c ;// 0x12c 369int x130 ;// 0x130 370int x134 ;// 0x134 371int x138 ;// 0x138 372int x13c ;// 0x13c 373int x140 ;// 0x140 374int x144 ;// 0x144 375int x148 ;// 0x148 376int x14c ;// 0x14c 377int x150 ;// 0x150 378int x154 ;// 0x154 379int x158 ;// 0x158 380int x15c ;// 0x15c 381int x160 ;// 0x160 382int x164 ;// 0x164 383int x168 ;// 0x168 384int x16c ;// 0x16c 385int x170 ;// 0x170 386int x174 ;// 0x174 387int x178 ;// 0x178 388int x17c ;// 0x17c 389int x180 ;// 0x180 390int x184 ;// 0x184 391int x188 ;// 0x188 392int x18c ;// 0x18c 393int x190 ;// 0x190 394int x194 ;// 0x194 395int x198 ;// 0x198 396int x19c ;// 0x19c 397int x1a0 ;// 0x1a0 398int x1a4 ;// 0x1a4 399int x1a8 ;// 0x1a8 400int x1ac ;// 0x1ac 401int x1b0 ;// 0x1b0 402int x1b4 ;// 0x1b4 403int x1b8 ;// 0x1b8 404int x1bc ;// 0x1bc 405int x1c0 ;// 0x1c0 406int x1c4 ;// 0x1c4 407int x1c8 ;// 0x1c8 408int x1cc ;// 0x1cc 409int x1d0 ;// 0x1d0 410int x1d4 ;// 0x1d4 411int x1d8 ;// 0x1d8 412int x1dc ;// 0x1dc 413int x1e0 ;// 0x1e0 414int x1e4 ;// 0x1e4 415int x1e8 ;// 0x1e8 416int x1ec ;// 0x1ec 417int x1f0 ;// 0x1f0 418int x1f4 ;// 0x1f4 419int x1f8 ;// 0x1f8 420int x1fc ;// 0x1fc 421int x200 ;// 0x200 422int x204 ;// 0x204 423int x208 ;// 0x208 424int x20c ;// 0x20c 425int x210 ;// 0x210 426int x214 ;// 0x214 427int x218 ;// 0x218 428int x21c ;// 0x21c 429int x220 ;// 0x220 430int x224 ;// 0x224 431int x228 ;// 0x228 432int x22c ;// 0x22c 433int x230 ;// 0x230 434int x234 ;// 0x234 435int x238 ;// 0x238 436int x23c ;// 0x23c 437int x240 ;// 0x240 438int x244 ;// 0x244 439int x248 ;// 0x248 440int x24c ;// 0x24c 441int x250 ;// 0x250 442int x254 ;// 0x254 443int x258 ;// 0x258 444int x25c ;// 0x25c 445int x260 ;// 0x260 446int x264 ;// 0x264 447int x268 ;// 0x268 448int x26c ;// 0x26c 449int x270 ;// 0x270 450int x274 ;// 0x274 451int x278 ;// 0x278 452int x27c ;// 0x27c 453int x280 ;// 0x280 454int x284 ;// 0x284 455int x288 ;// 0x288 456int x28c ;// 0x28c 457int x290 ;// 0x290 458int x294 ;// 0x294 459int x298 ;// 0x298 460int x29c ;// 0x29c 461int x2a0 ;// 0x2a0 462int x2a4 ;// 0x2a4 463int x2a8 ;// 0x2a8 464int x2ac ;// 0x2ac 465int x2b0 ;// 0x2b0 466int x2b4 ;// 0x2b4 467int x2b8 ;// 0x2b8 468int x2bc ;// 0x2bc 469float cam_ ;// 0x2c0 470int x2c4 ;// 0x2c4 471int x2c8 ;// 0x2c8 472int x2cc ;// 0x2cc 473int x2d0 ;// 0x2d0 474int x2d4 ;// 0x2d4 475int x2d8 ;// 0x2d8 476int x2dc ;// 0x2dc 477int x2e0 ;// 0x2e0 478int x2e4 ;// 0x2e4 479int x2e8 ;// 0x2e8 480float freecam_tilt_vertical ;// 0x2ec, uses radians 481int x2f0 ;// 0x2f0 482int x2f4 ;// 0x2f4 483float freecam_zoommax ;// 0x2f8 484float freecam_zoommin ;// 0x2fc 485int x300 ;// 0x300 486int x304 ;// 0x304 487Vec3 freecam_pos ;// 0x308 488Vec3 freecam_offset ;// 0x314 // 0x314 489Vec2 freecam_rotate ;// 0x320 490Vec3 freecam_fov ;// 0x328 491int x334 ;// 0x334 492int x338 ;// 0x338 493int x33c ;// 0x33c 494int x340 ;// 0x340 495int x344 ;// 0x344 496int x348 ;// 0x348 497int x34c ;// 0x34c 498int x350 ;// 0x350 499int x354 ;// 0x354 500int x358 ;// 0x358 501int x35c ;// 0x35c 502int x360 ;// 0x360 503int x364 ;// 0x364 504int x368 ;// 0x368 505int x36c ;// 0x36c 506int x370 ;// 0x370 507int x374 ;// 0x374 508int x378 ;// 0x378 509int x37c ;// 0x37c 510int x380 ;// 0x380 511int x384 ;// 0x384 512int x388 ;// 0x388 513int x38c ;// 0x38c 514int x390 ;// 0x390 515int x394 ;// 0x394 516unsigned char hide_fighters :1 ;// 0x398, 0x80 517unsigned char hide_items :1 ;// 0x398, 0x40 518unsigned char hide_stage2 :1 ;// 0x398, 0x20 519unsigned char hide_effects :1 ;// 0x398, 0x10 520unsigned char hide_lighting :1 ;// 0x398, 0x08 521unsigned char hide_background :1 ;// 0x398, 0x04 522unsigned char item_render_flags :2 ;// 0x398, 0x03 523unsigned char map_render_flags :2 ;// 0x399, 0xC0, stage gobjs compare this to their render flags and only render if they match 524unsigned char x399x20 :1 ;// 0x399, 0x20 525unsigned char show_coll :1 ;// 0x399, 0x10 526unsigned char show_cam_blastzones :1 ;// 0x399, 0x08 527unsigned char hide_stage :1 ;// 0x399, 0x04 528unsigned char x399_02 :1 ;// 0x399, 0x02 529unsigned char x399_01 :1 ;// 0x399, 0x01 530unsigned char x39a_80 :1 ;// 0x39a, 0x80 531unsigned char x39a_40 :1 ;// 0x39a, 0x40 532unsigned char show_item_spawns :1 ;// 0x39a, 0x20 533unsigned char x39a_10 :1 ;// 0x39a, 0x10 534unsigned char x39a_08 :1 ;// 0x39a, 0x80 535unsigned char x39a_04 :1 ;// 0x39a, 0x40 536unsigned char x39a_02 :1 ;// 0x39a, 0x20 537unsigned char x39a_01 :1 ;// 0x39a, 0x10 538char x39b ;// 0x39b 539int x39c ;// 0x39c 540int x3a0 ;// 0x3a0 541int x3a4 ;// 0x3a4 542int x3a8 ;// 0x3a8 543int x3ac ;// 0x3ac 544int x3b0 ;// 0x3b0 545int x3b4 ;// 0x3b4 546int x3b8 ;// 0x3b8 547int x3bc ;// 0x3bc 548int x3c0 ;// 0x3c0 549int x3c4 ;// 0x3c4 550int x3c8 ;// 0x3c8 551int x3cc ;// 0x3cc 552int x3d0 ;// 0x3d0 553int x3d4 ;// 0x3d4 554Vec3 devcam_pos ;// 0x3d8 555Vec3 devcam_rot ;// 0x3e4 556float devcam_fov ;// 0x3f0 557int x3f4 ;// 0x3f4 558int x3f8 ;// 0x3f8 559int x3fc ;// 0x3fc 560}; 561 562struct MatchLupe 563{ 564GOBJ * gobj ;// 0x0 565JOBJ * arrow_jobj ;// 0x4 566_HSD_ImageDesc * image_desc ;// 0x8 jobj 2 -> dobj -> next -> mobj -> tobj -> imagedesc 567u8 is_rendred_lupe_cam :1 ;// 0xC, 0x80 raised when the lupe cobj detects the fighter is offscreen and renders the low poly model 568u8 ignore_offscreen :1 ;// 0xC, unk, set to 0 initially 569u8 offscreen_dir :6 ;// 0xC, 0x3f. 0x2 = left, 0x4 = right 570}; 571struct MatchOffscreen 572{ 573JOBJSet * lupe_jobjset ;// 0x0 574GXColor lupe_color [4 ];// 0x4 575MatchLupe lupe [6 ]; 576}; 577struct MatchNametags { 578JOBJSet nametag_jobjset ; 579// initialized in HUD_InitNametag (802fcf38) 580// GOBJs for the nametags / player indicators 581GOBJ * gobjs [6 ];// 0x10 all are non-null 582}; 583 584struct ExclamData 585{ 586GOBJ * gobj ;// 0x0 587int x4 ;// 0x4 588int x8 ;// 0x8 589int sfx ;// 0xc, -1 for none 590u8 x10 ;// 0x10 591u8 x11 ;// 0x11 592u8 is_play_sfx12 :1 ;// 0x12, 0x80, flags 593u8 is_play_sfx3 :1 ;// 0x12, 0x40 flags 594u8 is_exec_func1 :1 ;// 0x12, 0x20, flags 595u8 x12_x10 :1 ;// 0x12, flags 596u8 x12_x08 :1 ;// 0x12, flags 597u8 x12_x04 :1 ;// 0x12, flags 598u8 x12_x02 :1 ;// 0x12, flags 599u8 x12_x01 :1 ;// 0x12, flags 600int x14 ;// 0x14 601void * on_start ;// 0x18, executes when exclam starts 602void * on_end ;// 0x1c, executes when exclam ends 603int sfx2 ;// 0x20, -1 for none 604int sfx3 ;// 0x24, -1 for none 605}; 606 607struct PlayerStandings 608{ 609u8 pkind ;// 0x58 610u8 ckind ;// 0x59 611u8 ftkind ;// 0x5a 612u8 costume :6 ;// 0x5b costume id 613u8 is_rumble :1 ;// 0x5b rumble flag 614u8 is_stamina :1 ;// 0x5b stamina flag 615u8 nametag ;// 0x5c 616u8 placement ;// 0x5d, (0 = 1st, 1 = 2nd, etc) 617u8 x5e ;// 0x5e, placement again? 618u8 team ;// 0x5f, index of this players team 619u8 stock_num ;// 0x60 620u8 hp ;// 0x61 621u8 sd_num ;// 0x62 622u8 fall_num ;// 0x63 623u16 dmg_num ;// 0x64 624u16 joystick_inputs ;// 0x66, this is weird, its multiplied by 0.9 and then 0.031. results in the number of times you inputted 28 joystick directions 625u16 kos [6 ];// 0x68, indexed per ply 626int coins ;// 0x74 627int x78 ;// 0x78 628int x7c ;// 0x7c 629int frames_alive ;// 0x80 630int death_time ;// 0x84, Time Player Lost All Stocks (Seconds), is 0x1 if player was the last survivor. 631int x88 ;// 0x88 632int x8c ;// 0x8c 633int hits_landed ;// 0x90, total 634int attack_num ;// 0x94, total 635int dmg_dealt ;// 0x98, total 636int dmg_taken ;// 0x9c, total 637int xa0 ;// 0xa0 638int max_dmg_taken ;// 0xa4, per stock 639int dist_traveled_ground ;// 0xa8, only updated when player is actionable 640int dist_traveled_air ;// 0xac, only updated when player is actionable 641int dist_fallen ;// 0xb0 642int dist_hit ;// 0xb4 643int coins_collected ;// 0xb8 644int xbc ;// 0xbc 645int xc0 ;// 0xc0 646int seconds_grounded ;// 0xc4 647int seconds_airborne ;// 0xc8 648int xcc ;// 0xcc 649int xd0 ;// 0xd0 650int xd4 ;// 0xd4 651int xd8 ;// 0xd8 652int xdc ;// 0xdc 653int xe0 ;// 0xe0 654int ledgegrab_num ;// 0xe4 655int xe8 ;// 0xe8 656int xec ;// 0xec 657int xf0 ;// 0xf0 658int xf4 ;// 0xf4 659int xf8 ;// 0xf8 660int xfc ;// 0xfc 661}; 662 663struct TeamStandings 664{ 665int death_time ;// 0x0, does this contain stocks for the winning team? 666int x4 ;// 0x4 667u8 placement ;// 0x8 668u8 x9 ;// 0x9 669u8 xa ;// 0xa 670u8 xb ;// 0xb 671}; 672 673struct MatchStandings 674{ 675int x0 ;// 0x24c 676u8 end_kind ;// 0x250 677u8 x5 ;// 0x251 678u8 is_teams ;// 0x252 679int time_frames ;// 0x254 how many frames passed in the match 680u8 xc ;// 0x258 681u8 winner_num ;// 0x259 is greater than 1 when a tie occurs 682u8 placings [4 ];// 0x25a - 0x25d, array of player indices in order of placement 683int x14 ;// 0x260 684int x18 ;// 0x264 685TeamStandings team_standings [5 ];// 0x268 686PlayerStandings ply_standings [6 ];// 0x2a4 687}; 688 689struct Match // static match struct @ 8046b6a0 690{ 691u8 state ;// 0x0 692u8 pauser ;// 0x1 693u8 x2 ;// 0x2 694u8 x3 ;// 0x3 695u8 x4 ;// 0x4 696u8 start_exclamation_ended ;// 0x5, is 1 when the initial READY GO is ended 697u8 request_match_end ;// 0x6, will override match end logic and set kind to 698u8 x7 ;// 0x7 699u8 end_kind ;// 0x8 700u8 x9 ;// 0x8 701u8 xa ;// 0x8 702u8 xb ;// 0x8 703int xc ;// 0xc 704int end_sfx_announcer ;// 0x10 705int end_sfx_crowd ;// 0x14 706int x18 ;// 0x18 707int x1c ;// 0x1c 708int x20 ;// 0x20 709int time_frames ;// 0x24 710int time_seconds ;// 0x28 711u16 time_ms ;// 0x2c, counts frame 0-59 712int x30 ;// 0x30 713int x34 ;// 0x34 714int x38 ;// 0x38 715int x3c ;// 0x3c 716int x40 ;// 0x40 717int x44 ;// 0x44 718int x48 ;// 0x48 719int x4c ;// 0x4c 720int x50 ;// 0x50 721int x54 ;// 0x54 722int x58 ;// 0x58 723int x5c ;// 0x5c 724int x60 ;// 0x60 725int x64 ;// 0x64 726int x68 ;// 0x68 727int x6c ;// 0x6c 728int x70 ;// 0x70 729int x74 ;// 0x74 730int x78 ;// 0x78 731int x7c ;// 0x7c 732int x80 ;// 0x80 733int x84 ;// 0x84 734int x88 ;// 0x88 735int x8c ;// 0x8c 736int x90 ;// 0x90 737int x94 ;// 0x94 738int x98 ;// 0x98 739int x9c ;// 0x9c 740int xa0 ;// 0xa0 741int xa4 ;// 0xa4 742int xa8 ;// 0xa8 743int xac ;// 0xac 744int xb0 ;// 0xb0 745int xb4 ;// 0xb4 746int xb8 ;// 0xb8 747int xbc ;// 0xbc 748int xc0 ;// 0xc0 749int xc4 ;// 0xc4 750int xc8 ;// 0xc8 751int xcc ;// 0xcc 752int xd0 ;// 0xd0 753int xd4 ;// 0xd4 754int xd8 ;// 0xd8 755int xdc ;// 0xdc 756int xe0 ;// 0xe0 757int xe4 ;// 0xe4 758int xe8 ;// 0xe8 759int xec ;// 0xec 760int xf0 ;// 0xf0 761int xf4 ;// 0xf4 762int xf8 ;// 0xf8 763int xfc ;// 0xfc 764int x100 ;// 0x100 765int x104 ;// 0x104 766int x108 ;// 0x108 767int x10c ;// 0x10c 768int x110 ;// 0x110 769int x114 ;// 0x114 770int x118 ;// 0x118 771int x11c ;// 0x11c 772int x120 ;// 0x120 773int x124 ;// 0x124 774int x128 ;// 0x128 775int x12c ;// 0x12c 776int x130 ;// 0x130 777int x134 ;// 0x134 778int x138 ;// 0x138 779int x13c ;// 0x13c 780int x140 ;// 0x140 781int x144 ;// 0x144 782int x148 ;// 0x148 783int x14c ;// 0x14c 784int x150 ;// 0x150 785int x154 ;// 0x154 786int x158 ;// 0x158 787int x15c ;// 0x15c 788int x160 ;// 0x160 789int x164 ;// 0x164 790int x168 ;// 0x168 791int x16c ;// 0x16c 792int x170 ;// 0x170 793int x174 ;// 0x174 794int x178 ;// 0x178 795int x17c ;// 0x17c 796int x180 ;// 0x180 797int x184 ;// 0x184 798int x188 ;// 0x188 799int x18c ;// 0x18c 800int x190 ;// 0x190 801int x194 ;// 0x194 802int x198 ;// 0x198 803int x19c ;// 0x19c 804int x1a0 ;// 0x1a0 805int x1a4 ;// 0x1a4 806int x1a8 ;// 0x1a8 807int x1ac ;// 0x1ac 808int x1b0 ;// 0x1b0 809int x1b4 ;// 0x1b4 810int x1b8 ;// 0x1b8 811int x1bc ;// 0x1bc 812int x1c0 ;// 0x1c0 813int x1c4 ;// 0x1c4 814int x1c8 ;// 0x1c8 815int x1cc ;// 0x1cc 816int x1d0 ;// 0x1d0 817int x1d4 ;// 0x1d4 818int x1d8 ;// 0x1d8 819int x1dc ;// 0x1dc 820int x1e0 ;// 0x1e0 821int x1e4 ;// 0x1e4 822int x1e8 ;// 0x1e8 823int x1ec ;// 0x1ec 824int x1f0 ;// 0x1f0 825int x1f4 ;// 0x1f4 826int x1f8 ;// 0x1f8 827int x1fc ;// 0x1fc 828int x200 ;// 0x200 829int x204 ;// 0x204 830int x208 ;// 0x208 831int x20c ;// 0x20c 832int x210 ;// 0x210 833int x214 ;// 0x214 834int x218 ;// 0x218 835int x21c ;// 0x21c 836int x220 ;// 0x220 837int x224 ;// 0x224 838int x228 ;// 0x228 839int x22c ;// 0x22c 840int x230 ;// 0x230 841int x234 ;// 0x234 842int x238 ;// 0x238 843int x23c ;// 0x23c 844int x240 ;// 0x240 845int x244 ;// 0x244 846int x248 ;// 0x248 847MatchStandings standings ;// 0x24c 848int x694 ;// 0x694 849int x698 ;// 0x698 850int x69c ;// 0x69c 851int x6a0 ;// 0x6a0 852int x6a4 ;// 0x6a4 853int x6a8 ;// 0x6a8 854int x6ac ;// 0x6ac 855int x6b0 ;// 0x6b0 856int x6b4 ;// 0x6b4 857int x6b8 ;// 0x6b8 858int x6bc ;// 0x6bc 859int x6c0 ;// 0x6c0 860int x6c4 ;// 0x6c4 861int x6c8 ;// 0x6c8 862int x6cc ;// 0x6cc 863int x6d0 ;// 0x6d0 864int x6d4 ;// 0x6d4 865int x6d8 ;// 0x6d8 866int x6dc ;// 0x6dc 867int x6e0 ;// 0x6e0 868int x6e4 ;// 0x6e4 869int x6e8 ;// 0x6e8 870int x6ec ;// 0x6ec 871int x6f0 ;// 0x6f0 872int x6f4 ;// 0x6f4 873int x6f8 ;// 0x6f8 874int x6fc ;// 0x6fc 875int x700 ;// 0x700 876int x704 ;// 0x704 877int x708 ;// 0x708 878int x70c ;// 0x70c 879int x710 ;// 0x710 880int x714 ;// 0x714 881int x718 ;// 0x718 882int x71c ;// 0x71c 883int x720 ;// 0x720 884int x724 ;// 0x724 885int x728 ;// 0x728 886int x72c ;// 0x72c 887int x730 ;// 0x730 888int x734 ;// 0x734 889int x738 ;// 0x738 890int x73c ;// 0x73c 891int x740 ;// 0x740 892int x744 ;// 0x744 893int x748 ;// 0x748 894int x74c ;// 0x74c 895int x750 ;// 0x750 896int x754 ;// 0x754 897int x758 ;// 0x758 898int x75c ;// 0x75c 899int x760 ;// 0x760 900int x764 ;// 0x764 901int x768 ;// 0x768 902int x76c ;// 0x76c 903int x770 ;// 0x770 904int x774 ;// 0x774 905int x778 ;// 0x778 906int x77c ;// 0x77c 907int x780 ;// 0x780 908int x784 ;// 0x784 909int x788 ;// 0x788 910int x78c ;// 0x78c 911int x790 ;// 0x790 912int x794 ;// 0x794 913int x798 ;// 0x798 914int x79c ;// 0x79c 915int x7a0 ;// 0x7a0 916int x7a4 ;// 0x7a4 917int x7a8 ;// 0x7a8 918int x7ac ;// 0x7ac 919int x7b0 ;// 0x7b0 920int x7b4 ;// 0x7b4 921int x7b8 ;// 0x7b8 922int x7bc ;// 0x7bc 923int x7c0 ;// 0x7c0 924int x7c4 ;// 0x7c4 925int x7c8 ;// 0x7c8 926int x7cc ;// 0x7cc 927int x7d0 ;// 0x7d0 928int x7d4 ;// 0x7d4 929int x7d8 ;// 0x7d8 930int x7dc ;// 0x7dc 931int x7e0 ;// 0x7e0 932int x7e4 ;// 0x7e4 933int x7e8 ;// 0x7e8 934int x7ec ;// 0x7ec 935int x7f0 ;// 0x7f0 936int x7f4 ;// 0x7f4 937int x7f8 ;// 0x7f8 938int x7fc ;// 0x7fc 939int x800 ;// 0x800 940int x804 ;// 0x804 941int x808 ;// 0x808 942int x80c ;// 0x80c 943int x810 ;// 0x810 944int x814 ;// 0x814 945int x818 ;// 0x818 946int x81c ;// 0x81c 947int x820 ;// 0x820 948int x824 ;// 0x824 949int x828 ;// 0x828 950int x82c ;// 0x82c 951int x830 ;// 0x830 952int x834 ;// 0x834 953int x838 ;// 0x838 954int x83c ;// 0x83c 955int x840 ;// 0x840 956int x844 ;// 0x844 957int x848 ;// 0x848 958int x84c ;// 0x84c 959int x850 ;// 0x850 960int x854 ;// 0x854 961int x858 ;// 0x858 962int x85c ;// 0x85c 963int x860 ;// 0x860 964int x864 ;// 0x864 965int x868 ;// 0x868 966int x86c ;// 0x86c 967int x870 ;// 0x870 968int x874 ;// 0x874 969int x878 ;// 0x878 970int x87c ;// 0x87c 971int x880 ;// 0x880 972int x884 ;// 0x884 973int x888 ;// 0x888 974int x88c ;// 0x88c 975int x890 ;// 0x890 976int x894 ;// 0x894 977int x898 ;// 0x898 978int x89c ;// 0x89c 979int x8a0 ;// 0x8a0 980int x8a4 ;// 0x8a4 981int x8a8 ;// 0x8a8 982int x8ac ;// 0x8ac 983int x8b0 ;// 0x8b0 984int x8b4 ;// 0x8b4 985int x8b8 ;// 0x8b8 986int x8bc ;// 0x8bc 987int x8c0 ;// 0x8c0 988int x8c4 ;// 0x8c4 989int x8c8 ;// 0x8c8 990int x8cc ;// 0x8cc 991int x8d0 ;// 0x8d0 992int x8d4 ;// 0x8d4 993int x8d8 ;// 0x8d8 994int x8dc ;// 0x8dc 995int x8e0 ;// 0x8e0 996int x8e4 ;// 0x8e4 997int x8e8 ;// 0x8e8 998int x8ec ;// 0x8ec 999int x8f0 ;// 0x8f0 1000int x8f4 ;// 0x8f4 1001int x8f8 ;// 0x8f8 1002int x8fc ;// 0x8fc 1003int x900 ;// 0x900 1004int x904 ;// 0x904 1005int x908 ;// 0x908 1006int x90c ;// 0x90c 1007int x910 ;// 0x910 1008int x914 ;// 0x914 1009int x918 ;// 0x918 1010int x91c ;// 0x91c 1011int x920 ;// 0x920 1012int x924 ;// 0x924 1013int x928 ;// 0x928 1014int x92c ;// 0x92c 1015int x930 ;// 0x930 1016int x934 ;// 0x934 1017int x938 ;// 0x938 1018int x93c ;// 0x93c 1019int x940 ;// 0x940 1020int x944 ;// 0x944 1021int x948 ;// 0x948 1022int x94c ;// 0x94c 1023int x950 ;// 0x950 1024int x954 ;// 0x954 1025int x958 ;// 0x958 1026int x95c ;// 0x95c 1027int x960 ;// 0x960 1028int x964 ;// 0x964 1029int x968 ;// 0x968 1030int x96c ;// 0x96c 1031int x970 ;// 0x970 1032int x974 ;// 0x974 1033int x978 ;// 0x978 1034int x97c ;// 0x97c 1035int x980 ;// 0x980 1036int x984 ;// 0x984 1037int x988 ;// 0x988 1038int x98c ;// 0x98c 1039int x990 ;// 0x990 1040int x994 ;// 0x994 1041int x998 ;// 0x998 1042int x99c ;// 0x99c 1043int x9a0 ;// 0x9a0 1044int x9a4 ;// 0x9a4 1045int x9a8 ;// 0x9a8 1046int x9ac ;// 0x9ac 1047int x9b0 ;// 0x9b0 1048int x9b4 ;// 0x9b4 1049int x9b8 ;// 0x9b8 1050int x9bc ;// 0x9bc 1051int x9c0 ;// 0x9c0 1052int x9c4 ;// 0x9c4 1053int x9c8 ;// 0x9c8 1054int x9cc ;// 0x9cc 1055int x9d0 ;// 0x9d0 1056int x9d4 ;// 0x9d4 1057int x9d8 ;// 0x9d8 1058int x9dc ;// 0x9dc 1059int x9e0 ;// 0x9e0 1060int x9e4 ;// 0x9e4 1061int x9e8 ;// 0x9e8 1062int x9ec ;// 0x9ec 1063int x9f0 ;// 0x9f0 1064int x9f4 ;// 0x9f4 1065int x9f8 ;// 0x9f8 1066int x9fc ;// 0x9fc 1067int xa00 ;// 0xa00 1068int xa04 ;// 0xa04 1069int xa08 ;// 0xa08 1070int xa0c ;// 0xa0c 1071int xa10 ;// 0xa10 1072int xa14 ;// 0xa14 1073int xa18 ;// 0xa18 1074int xa1c ;// 0xa1c 1075int xa20 ;// 0xa20 1076int xa24 ;// 0xa24 1077int xa28 ;// 0xa28 1078int xa2c ;// 0xa2c 1079int xa30 ;// 0xa30 1080int xa34 ;// 0xa34 1081int xa38 ;// 0xa38 1082int xa3c ;// 0xa3c 1083int xa40 ;// 0xa40 1084int xa44 ;// 0xa44 1085int xa48 ;// 0xa48 1086int xa4c ;// 0xa4c 1087int xa50 ;// 0xa50 1088int xa54 ;// 0xa54 1089int xa58 ;// 0xa58 1090int xa5c ;// 0xa5c 1091int xa60 ;// 0xa60 1092int xa64 ;// 0xa64 1093int xa68 ;// 0xa68 1094int xa6c ;// 0xa6c 1095int xa70 ;// 0xa70 1096int xa74 ;// 0xa74 1097int xa78 ;// 0xa78 1098int xa7c ;// 0xa7c 1099int xa80 ;// 0xa80 1100int xa84 ;// 0xa84 1101int xa88 ;// 0xa88 1102int xa8c ;// 0xa8c 1103int xa90 ;// 0xa90 1104int xa94 ;// 0xa94 1105int xa98 ;// 0xa98 1106int xa9c ;// 0xa9c 1107int xaa0 ;// 0xaa0 1108int xaa4 ;// 0xaa4 1109int xaa8 ;// 0xaa8 1110int xaac ;// 0xaac 1111int xab0 ;// 0xab0 1112int xab4 ;// 0xab4 1113int xab8 ;// 0xab8 1114int xabc ;// 0xabc 1115int xac0 ;// 0xac0 1116int xac4 ;// 0xac4 1117int xac8 ;// 0xac8 1118int xacc ;// 0xacc 1119int xad0 ;// 0xad0 1120int xad4 ;// 0xad4 1121int xad8 ;// 0xad8 1122int xadc ;// 0xadc 1123int xae0 ;// 0xae0 1124int xae4 ;// 0xae4 1125int xae8 ;// 0xae8 1126int xaec ;// 0xaec 1127int xaf0 ;// 0xaf0 1128int xaf4 ;// 0xaf4 1129int xaf8 ;// 0xaf8 1130int xafc ;// 0xafc 1131int xb00 ;// 0xb00 1132int xb04 ;// 0xb04 1133int xb08 ;// 0xb08 1134int xb0c ;// 0xb0c 1135int xb10 ;// 0xb10 1136int xb14 ;// 0xb14 1137int xb18 ;// 0xb18 1138int xb1c ;// 0xb1c 1139int xb20 ;// 0xb20 1140int xb24 ;// 0xb24 1141int xb28 ;// 0xb28 1142int xb2c ;// 0xb2c 1143int xb30 ;// 0xb30 1144int xb34 ;// 0xb34 1145int xb38 ;// 0xb38 1146int xb3c ;// 0xb3c 1147int xb40 ;// 0xb40 1148int xb44 ;// 0xb44 1149int xb48 ;// 0xb48 1150int xb4c ;// 0xb4c 1151int xb50 ;// 0xb50 1152int xb54 ;// 0xb54 1153int xb58 ;// 0xb58 1154int xb5c ;// 0xb5c 1155int xb60 ;// 0xb60 1156int xb64 ;// 0xb64 1157int xb68 ;// 0xb68 1158int xb6c ;// 0xb6c 1159int xb70 ;// 0xb70 1160int xb74 ;// 0xb74 1161int xb78 ;// 0xb78 1162int xb7c ;// 0xb7c 1163int xb80 ;// 0xb80 1164int xb84 ;// 0xb84 1165int xb88 ;// 0xb88 1166int xb8c ;// 0xb8c 1167int xb90 ;// 0xb90 1168int xb94 ;// 0xb94 1169int xb98 ;// 0xb98 1170int xb9c ;// 0xb9c 1171int xba0 ;// 0xba0 1172int xba4 ;// 0xba4 1173int xba8 ;// 0xba8 1174int xbac ;// 0xbac 1175int xbb0 ;// 0xbb0 1176int xbb4 ;// 0xbb4 1177int xbb8 ;// 0xbb8 1178int xbbc ;// 0xbbc 1179int xbc0 ;// 0xbc0 1180int xbc4 ;// 0xbc4 1181int xbc8 ;// 0xbc8 1182int xbcc ;// 0xbcc 1183int xbd0 ;// 0xbd0 1184int xbd4 ;// 0xbd4 1185int xbd8 ;// 0xbd8 1186int xbdc ;// 0xbdc 1187int xbe0 ;// 0xbe0 1188int xbe4 ;// 0xbe4 1189int xbe8 ;// 0xbe8 1190int xbec ;// 0xbec 1191int xbf0 ;// 0xbf0 1192int xbf4 ;// 0xbf4 1193int xbf8 ;// 0xbf8 1194int xbfc ;// 0xbfc 1195int xc00 ;// 0xc00 1196int xc04 ;// 0xc04 1197int xc08 ;// 0xc08 1198int xc0c ;// 0xc0c 1199int xc10 ;// 0xc10 1200int xc14 ;// 0xc14 1201int xc18 ;// 0xc18 1202int xc1c ;// 0xc1c 1203int xc20 ;// 0xc20 1204int xc24 ;// 0xc24 1205int xc28 ;// 0xc28 1206int xc2c ;// 0xc2c 1207int xc30 ;// 0xc30 1208int xc34 ;// 0xc34 1209int xc38 ;// 0xc38 1210int xc3c ;// 0xc3c 1211int xc40 ;// 0xc40 1212int xc44 ;// 0xc44 1213int xc48 ;// 0xc48 1214int xc4c ;// 0xc4c 1215int xc50 ;// 0xc50 1216int xc54 ;// 0xc54 1217int xc58 ;// 0xc58 1218int xc5c ;// 0xc5c 1219int xc60 ;// 0xc60 1220int xc64 ;// 0xc64 1221int xc68 ;// 0xc68 1222int xc6c ;// 0xc6c 1223int xc70 ;// 0xc70 1224int xc74 ;// 0xc74 1225int xc78 ;// 0xc78 1226int xc7c ;// 0xc7c 1227int xc80 ;// 0xc80 1228int xc84 ;// 0xc84 1229int xc88 ;// 0xc88 1230int xc8c ;// 0xc8c 1231int xc90 ;// 0xc90 1232int xc94 ;// 0xc94 1233int xc98 ;// 0xc98 1234int xc9c ;// 0xc9c 1235int xca0 ;// 0xca0 1236int xca4 ;// 0xca4 1237int xca8 ;// 0xca8 1238int xcac ;// 0xcac 1239int xcb0 ;// 0xcb0 1240int xcb4 ;// 0xcb4 1241int xcb8 ;// 0xcb8 1242int xcbc ;// 0xcbc 1243int xcc0 ;// 0xcc0 1244int xcc4 ;// 0xcc4 1245int xcc8 ;// 0xcc8 1246int xccc ;// 0xccc 1247int xcd0 ;// 0xcd0 1248int xcd4 ;// 0xcd4 1249int xcd8 ;// 0xcd8 1250int xcdc ;// 0xcdc 1251int xce0 ;// 0xce0 1252int xce4 ;// 0xce4 1253int xce8 ;// 0xce8 1254int xcec ;// 0xcec 1255int xcf0 ;// 0xcf0 1256int xcf4 ;// 0xcf4 1257int xcf8 ;// 0xcf8 1258int xcfc ;// 0xcfc 1259int xd00 ;// 0xd00 1260int xd04 ;// 0xd04 1261int xd08 ;// 0xd08 1262int xd0c ;// 0xd0c 1263int xd10 ;// 0xd10 1264int xd14 ;// 0xd14 1265int xd18 ;// 0xd18 1266int xd1c ;// 0xd1c 1267int xd20 ;// 0xd20 1268int xd24 ;// 0xd24 1269int xd28 ;// 0xd28 1270int xd2c ;// 0xd2c 1271int xd30 ;// 0xd30 1272int xd34 ;// 0xd34 1273int xd38 ;// 0xd38 1274int xd3c ;// 0xd3c 1275int xd40 ;// 0xd40 1276int xd44 ;// 0xd44 1277int xd48 ;// 0xd48 1278int xd4c ;// 0xd4c 1279int xd50 ;// 0xd50 1280int xd54 ;// 0xd54 1281int xd58 ;// 0xd58 1282int xd5c ;// 0xd5c 1283int xd60 ;// 0xd60 1284int xd64 ;// 0xd64 1285int xd68 ;// 0xd68 1286int xd6c ;// 0xd6c 1287int xd70 ;// 0xd70 1288int xd74 ;// 0xd74 1289int xd78 ;// 0xd78 1290int xd7c ;// 0xd7c 1291int xd80 ;// 0xd80 1292int xd84 ;// 0xd84 1293int xd88 ;// 0xd88 1294int xd8c ;// 0xd8c 1295int xd90 ;// 0xd90 1296int xd94 ;// 0xd94 1297int xd98 ;// 0xd98 1298int xd9c ;// 0xd9c 1299int xda0 ;// 0xda0 1300int xda4 ;// 0xda4 1301int xda8 ;// 0xda8 1302int xdac ;// 0xdac 1303int xdb0 ;// 0xdb0 1304int xdb4 ;// 0xdb4 1305int xdb8 ;// 0xdb8 1306int xdbc ;// 0xdbc 1307int xdc0 ;// 0xdc0 1308int xdc4 ;// 0xdc4 1309int xdc8 ;// 0xdc8 1310int xdcc ;// 0xdcc 1311int xdd0 ;// 0xdd0 1312int xdd4 ;// 0xdd4 1313int xdd8 ;// 0xdd8 1314int xddc ;// 0xddc 1315int xde0 ;// 0xde0 1316int xde4 ;// 0xde4 1317int xde8 ;// 0xde8 1318int xdec ;// 0xdec 1319int xdf0 ;// 0xdf0 1320int xdf4 ;// 0xdf4 1321int xdf8 ;// 0xdf8 1322int xdfc ;// 0xdfc 1323int xe00 ;// 0xe00 1324int xe04 ;// 0xe04 1325int xe08 ;// 0xe08 1326int xe0c ;// 0xe0c 1327int xe10 ;// 0xe10 1328int xe14 ;// 0xe14 1329int xe18 ;// 0xe18 1330int xe1c ;// 0xe1c 1331int xe20 ;// 0xe20 1332int xe24 ;// 0xe24 1333int xe28 ;// 0xe28 1334int xe2c ;// 0xe2c 1335int xe30 ;// 0xe30 1336int xe34 ;// 0xe34 1337int xe38 ;// 0xe38 1338int xe3c ;// 0xe3c 1339int xe40 ;// 0xe40 1340int xe44 ;// 0xe44 1341int xe48 ;// 0xe48 1342int xe4c ;// 0xe4c 1343int xe50 ;// 0xe50 1344int xe54 ;// 0xe54 1345int xe58 ;// 0xe58 1346int xe5c ;// 0xe5c 1347int xe60 ;// 0xe60 1348int xe64 ;// 0xe64 1349int xe68 ;// 0xe68 1350int xe6c ;// 0xe6c 1351int xe70 ;// 0xe70 1352int xe74 ;// 0xe74 1353int xe78 ;// 0xe78 1354int xe7c ;// 0xe7c 1355int xe80 ;// 0xe80 1356int xe84 ;// 0xe84 1357int xe88 ;// 0xe88 1358int xe8c ;// 0xe8c 1359int xe90 ;// 0xe90 1360int xe94 ;// 0xe94 1361int xe98 ;// 0xe98 1362int xe9c ;// 0xe9c 1363int xea0 ;// 0xea0 1364int xea4 ;// 0xea4 1365int xea8 ;// 0xea8 1366int xeac ;// 0xeac 1367int xeb0 ;// 0xeb0 1368int xeb4 ;// 0xeb4 1369int xeb8 ;// 0xeb8 1370int xebc ;// 0xebc 1371int xec0 ;// 0xec0 1372int xec4 ;// 0xec4 1373int xec8 ;// 0xec8 1374int xecc ;// 0xecc 1375int xed0 ;// 0xed0 1376int xed4 ;// 0xed4 1377int xed8 ;// 0xed8 1378int xedc ;// 0xedc 1379int xee0 ;// 0xee0 1380int xee4 ;// 0xee4 1381int xee8 ;// 0xee8 1382int xeec ;// 0xeec 1383int xef0 ;// 0xef0 1384int xef4 ;// 0xef4 1385int xef8 ;// 0xef8 1386int xefc ;// 0xefc 1387int xf00 ;// 0xf00 1388int xf04 ;// 0xf04 1389int xf08 ;// 0xf08 1390int xf0c ;// 0xf0c 1391int xf10 ;// 0xf10 1392int xf14 ;// 0xf14 1393int xf18 ;// 0xf18 1394int xf1c ;// 0xf1c 1395int xf20 ;// 0xf20 1396int xf24 ;// 0xf24 1397int xf28 ;// 0xf28 1398int xf2c ;// 0xf2c 1399int xf30 ;// 0xf30 1400int xf34 ;// 0xf34 1401int xf38 ;// 0xf38 1402int xf3c ;// 0xf3c 1403int xf40 ;// 0xf40 1404int xf44 ;// 0xf44 1405int xf48 ;// 0xf48 1406int xf4c ;// 0xf4c 1407int xf50 ;// 0xf50 1408int xf54 ;// 0xf54 1409int xf58 ;// 0xf58 1410int xf5c ;// 0xf5c 1411int xf60 ;// 0xf60 1412int xf64 ;// 0xf64 1413int xf68 ;// 0xf68 1414int xf6c ;// 0xf6c 1415int xf70 ;// 0xf70 1416int xf74 ;// 0xf74 1417int xf78 ;// 0xf78 1418int xf7c ;// 0xf7c 1419int xf80 ;// 0xf80 1420int xf84 ;// 0xf84 1421int xf88 ;// 0xf88 1422int xf8c ;// 0xf8c 1423int xf90 ;// 0xf90 1424int xf94 ;// 0xf94 1425int xf98 ;// 0xf98 1426int xf9c ;// 0xf9c 1427int xfa0 ;// 0xfa0 1428int xfa4 ;// 0xfa4 1429int xfa8 ;// 0xfa8 1430int xfac ;// 0xfac 1431int xfb0 ;// 0xfb0 1432int xfb4 ;// 0xfb4 1433int xfb8 ;// 0xfb8 1434int xfbc ;// 0xfbc 1435int xfc0 ;// 0xfc0 1436int xfc4 ;// 0xfc4 1437int xfc8 ;// 0xfc8 1438int xfcc ;// 0xfcc 1439int xfd0 ;// 0xfd0 1440int xfd4 ;// 0xfd4 1441int xfd8 ;// 0xfd8 1442int xfdc ;// 0xfdc 1443int xfe0 ;// 0xfe0 1444int xfe4 ;// 0xfe4 1445int xfe8 ;// 0xfe8 1446int xfec ;// 0xfec 1447int xff0 ;// 0xff0 1448int xff4 ;// 0xff4 1449int xff8 ;// 0xff8 1450int xffc ;// 0xffc 1451int x1000 ;// 0x1000 1452int x1004 ;// 0x1004 1453int x1008 ;// 0x1008 1454int x100c ;// 0x100c 1455int x1010 ;// 0x1010 1456int x1014 ;// 0x1014 1457int x1018 ;// 0x1018 1458int x101c ;// 0x101c 1459int x1020 ;// 0x1020 1460int x1024 ;// 0x1024 1461int x1028 ;// 0x1028 1462int x102c ;// 0x102c 1463int x1030 ;// 0x1030 1464int x1034 ;// 0x1034 1465int x1038 ;// 0x1038 1466int x103c ;// 0x103c 1467int x1040 ;// 0x1040 1468int x1044 ;// 0x1044 1469int x1048 ;// 0x1048 1470int x104c ;// 0x104c 1471int x1050 ;// 0x1050 1472int x1054 ;// 0x1054 1473int x1058 ;// 0x1058 1474int x105c ;// 0x105c 1475int x1060 ;// 0x1060 1476int x1064 ;// 0x1064 1477int x1068 ;// 0x1068 1478int x106c ;// 0x106c 1479int x1070 ;// 0x1070 1480int x1074 ;// 0x1074 1481int x1078 ;// 0x1078 1482int x107c ;// 0x107c 1483int x1080 ;// 0x1080 1484int x1084 ;// 0x1084 1485int x1088 ;// 0x1088 1486int x108c ;// 0x108c 1487int x1090 ;// 0x1090 1488int x1094 ;// 0x1094 1489int x1098 ;// 0x1098 1490int x109c ;// 0x109c 1491int x10a0 ;// 0x10a0 1492int x10a4 ;// 0x10a4 1493int x10a8 ;// 0x10a8 1494int x10ac ;// 0x10ac 1495int x10b0 ;// 0x10b0 1496int x10b4 ;// 0x10b4 1497int x10b8 ;// 0x10b8 1498int x10bc ;// 0x10bc 1499int x10c0 ;// 0x10c0 1500int x10c4 ;// 0x10c4 1501int x10c8 ;// 0x10c8 1502int x10cc ;// 0x10cc 1503int x10d0 ;// 0x10d0 1504int x10d4 ;// 0x10d4 1505int x10d8 ;// 0x10d8 1506int x10dc ;// 0x10dc 1507int x10e0 ;// 0x10e0 1508int x10e4 ;// 0x10e4 1509int x10e8 ;// 0x10e8 1510int x10ec ;// 0x10ec 1511int x10f0 ;// 0x10f0 1512int x10f4 ;// 0x10f4 1513int x10f8 ;// 0x10f8 1514int x10fc ;// 0x10fc 1515int x1100 ;// 0x1100 1516int x1104 ;// 0x1104 1517int x1108 ;// 0x1108 1518int x110c ;// 0x110c 1519int x1110 ;// 0x1110 1520int x1114 ;// 0x1114 1521int x1118 ;// 0x1118 1522int x111c ;// 0x111c 1523int x1120 ;// 0x1120 1524int x1124 ;// 0x1124 1525int x1128 ;// 0x1128 1526int x112c ;// 0x112c 1527int x1130 ;// 0x1130 1528int x1134 ;// 0x1134 1529int x1138 ;// 0x1138 1530int x113c ;// 0x113c 1531int x1140 ;// 0x1140 1532int x1144 ;// 0x1144 1533int x1148 ;// 0x1148 1534int x114c ;// 0x114c 1535int x1150 ;// 0x1150 1536int x1154 ;// 0x1154 1537int x1158 ;// 0x1158 1538int x115c ;// 0x115c 1539int x1160 ;// 0x1160 1540int x1164 ;// 0x1164 1541int x1168 ;// 0x1168 1542int x116c ;// 0x116c 1543int x1170 ;// 0x1170 1544int x1174 ;// 0x1174 1545int x1178 ;// 0x1178 1546int x117c ;// 0x117c 1547int x1180 ;// 0x1180 1548int x1184 ;// 0x1184 1549int x1188 ;// 0x1188 1550int x118c ;// 0x118c 1551int x1190 ;// 0x1190 1552int x1194 ;// 0x1194 1553int x1198 ;// 0x1198 1554int x119c ;// 0x119c 1555int x11a0 ;// 0x11a0 1556int x11a4 ;// 0x11a4 1557int x11a8 ;// 0x11a8 1558int x11ac ;// 0x11ac 1559int x11b0 ;// 0x11b0 1560int x11b4 ;// 0x11b4 1561int x11b8 ;// 0x11b8 1562int x11bc ;// 0x11bc 1563int x11c0 ;// 0x11c0 1564int x11c4 ;// 0x11c4 1565int x11c8 ;// 0x11c8 1566int x11cc ;// 0x11cc 1567int x11d0 ;// 0x11d0 1568int x11d4 ;// 0x11d4 1569int x11d8 ;// 0x11d8 1570int x11dc ;// 0x11dc 1571int x11e0 ;// 0x11e0 1572int x11e4 ;// 0x11e4 1573int x11e8 ;// 0x11e8 1574int x11ec ;// 0x11ec 1575int x11f0 ;// 0x11f0 1576int x11f4 ;// 0x11f4 1577int x11f8 ;// 0x11f8 1578int x11fc ;// 0x11fc 1579int x1200 ;// 0x1200 1580int x1204 ;// 0x1204 1581int x1208 ;// 0x1208 1582int x120c ;// 0x120c 1583int x1210 ;// 0x1210 1584int x1214 ;// 0x1214 1585int x1218 ;// 0x1218 1586int x121c ;// 0x121c 1587int x1220 ;// 0x1220 1588int x1224 ;// 0x1224 1589int x1228 ;// 0x1228 1590int x122c ;// 0x122c 1591int x1230 ;// 0x1230 1592int x1234 ;// 0x1234 1593int x1238 ;// 0x1238 1594int x123c ;// 0x123c 1595int x1240 ;// 0x1240 1596int x1244 ;// 0x1244 1597int x1248 ;// 0x1248 1598int x124c ;// 0x124c 1599int x1250 ;// 0x1250 1600int x1254 ;// 0x1254 1601int x1258 ;// 0x1258 1602int x125c ;// 0x125c 1603int x1260 ;// 0x1260 1604int x1264 ;// 0x1264 1605int x1268 ;// 0x1268 1606int x126c ;// 0x126c 1607int x1270 ;// 0x1270 1608int x1274 ;// 0x1274 1609int x1278 ;// 0x1278 1610int x127c ;// 0x127c 1611int x1280 ;// 0x1280 1612int x1284 ;// 0x1284 1613int x1288 ;// 0x1288 1614int x128c ;// 0x128c 1615int x1290 ;// 0x1290 1616int x1294 ;// 0x1294 1617int x1298 ;// 0x1298 1618int x129c ;// 0x129c 1619int x12a0 ;// 0x12a0 1620int x12a4 ;// 0x12a4 1621int x12a8 ;// 0x12a8 1622int x12ac ;// 0x12ac 1623int x12b0 ;// 0x12b0 1624int x12b4 ;// 0x12b4 1625int x12b8 ;// 0x12b8 1626int x12bc ;// 0x12bc 1627int x12c0 ;// 0x12c0 1628int x12c4 ;// 0x12c4 1629int x12c8 ;// 0x12c8 1630int x12cc ;// 0x12cc 1631int x12d0 ;// 0x12d0 1632int x12d4 ;// 0x12d4 1633int x12d8 ;// 0x12d8 1634int x12dc ;// 0x12dc 1635int x12e0 ;// 0x12e0 1636int x12e4 ;// 0x12e4 1637int x12e8 ;// 0x12e8 1638int x12ec ;// 0x12ec 1639int x12f0 ;// 0x12f0 1640int x12f4 ;// 0x12f4 1641int x12f8 ;// 0x12f8 1642int x12fc ;// 0x12fc 1643int x1300 ;// 0x1300 1644int x1304 ;// 0x1304 1645int x1308 ;// 0x1308 1646int x130c ;// 0x130c 1647int x1310 ;// 0x1310 1648int x1314 ;// 0x1314 1649int x1318 ;// 0x1318 1650int x131c ;// 0x131c 1651int x1320 ;// 0x1320 1652int x1324 ;// 0x1324 1653int x1328 ;// 0x1328 1654int x132c ;// 0x132c 1655int x1330 ;// 0x1330 1656int x1334 ;// 0x1334 1657int x1338 ;// 0x1338 1658int x133c ;// 0x133c 1659int x1340 ;// 0x1340 1660int x1344 ;// 0x1344 1661int x1348 ;// 0x1348 1662int x134c ;// 0x134c 1663int x1350 ;// 0x1350 1664int x1354 ;// 0x1354 1665int x1358 ;// 0x1358 1666int x135c ;// 0x135c 1667int x1360 ;// 0x1360 1668int x1364 ;// 0x1364 1669int x1368 ;// 0x1368 1670int x136c ;// 0x136c 1671int x1370 ;// 0x1370 1672int x1374 ;// 0x1374 1673int x1378 ;// 0x1378 1674int x137c ;// 0x137c 1675int x1380 ;// 0x1380 1676int x1384 ;// 0x1384 1677int x1388 ;// 0x1388 1678int x138c ;// 0x138c 1679int x1390 ;// 0x1390 1680int x1394 ;// 0x1394 1681int x1398 ;// 0x1398 1682int x139c ;// 0x139c 1683int x13a0 ;// 0x13a0 1684int x13a4 ;// 0x13a4 1685int x13a8 ;// 0x13a8 1686int x13ac ;// 0x13ac 1687int x13b0 ;// 0x13b0 1688int x13b4 ;// 0x13b4 1689int x13b8 ;// 0x13b8 1690int x13bc ;// 0x13bc 1691int x13c0 ;// 0x13c0 1692int x13c4 ;// 0x13c4 1693int x13c8 ;// 0x13c8 1694int x13cc ;// 0x13cc 1695int x13d0 ;// 0x13d0 1696int x13d4 ;// 0x13d4 1697int x13d8 ;// 0x13d8 1698int x13dc ;// 0x13dc 1699int x13e0 ;// 0x13e0 1700int x13e4 ;// 0x13e4 1701int x13e8 ;// 0x13e8 1702int x13ec ;// 0x13ec 1703int x13f0 ;// 0x13f0 1704int x13f4 ;// 0x13f4 1705int x13f8 ;// 0x13f8 1706int x13fc ;// 0x13fc 1707int x1400 ;// 0x1400 1708int x1404 ;// 0x1404 1709int x1408 ;// 0x1408 1710int x140c ;// 0x140c 1711int x1410 ;// 0x1410 1712int x1414 ;// 0x1414 1713int x1418 ;// 0x1418 1714int x141c ;// 0x141c 1715int x1420 ;// 0x1420 1716int x1424 ;// 0x1424 1717int x1428 ;// 0x1428 1718int x142c ;// 0x142c 1719int x1430 ;// 0x1430 1720int x1434 ;// 0x1434 1721int x1438 ;// 0x1438 1722int x143c ;// 0x143c 1723int x1440 ;// 0x1440 1724int x1444 ;// 0x1444 1725int x1448 ;// 0x1448 1726int x144c ;// 0x144c 1727int x1450 ;// 0x1450 1728int x1454 ;// 0x1454 1729int x1458 ;// 0x1458 1730int x145c ;// 0x145c 1731int x1460 ;// 0x1460 1732int x1464 ;// 0x1464 1733int x1468 ;// 0x1468 1734int x146c ;// 0x146c 1735int x1470 ;// 0x1470 1736int x1474 ;// 0x1474 1737int x1478 ;// 0x1478 1738int x147c ;// 0x147c 1739int x1480 ;// 0x1480 1740int x1484 ;// 0x1484 1741int x1488 ;// 0x1488 1742int x148c ;// 0x148c 1743int x1490 ;// 0x1490 1744int x1494 ;// 0x1494 1745int x1498 ;// 0x1498 1746int x149c ;// 0x149c 1747int x14a0 ;// 0x14a0 1748int x14a4 ;// 0x14a4 1749int x14a8 ;// 0x14a8 1750int x14ac ;// 0x14ac 1751int x14b0 ;// 0x14b0 1752int x14b4 ;// 0x14b4 1753int x14b8 ;// 0x14b8 1754int x14bc ;// 0x14bc 1755int x14c0 ;// 0x14c0 1756int x14c4 ;// 0x14c4 1757int x14c8 ;// 0x14c8 1758int x14cc ;// 0x14cc 1759int x14d0 ;// 0x14d0 1760int x14d4 ;// 0x14d4 1761int x14d8 ;// 0x14d8 1762int x14dc ;// 0x14dc 1763int x14e0 ;// 0x14e0 1764int x14e4 ;// 0x14e4 1765int x14e8 ;// 0x14e8 1766int x14ec ;// 0x14ec 1767int x14f0 ;// 0x14f0 1768int x14f4 ;// 0x14f4 1769int x14f8 ;// 0x14f8 1770int x14fc ;// 0x14fc 1771int x1500 ;// 0x1500 1772int x1504 ;// 0x1504 1773int x1508 ;// 0x1508 1774int x150c ;// 0x150c 1775int x1510 ;// 0x1510 1776int x1514 ;// 0x1514 1777int x1518 ;// 0x1518 1778int x151c ;// 0x151c 1779int x1520 ;// 0x1520 1780int x1524 ;// 0x1524 1781int x1528 ;// 0x1528 1782int x152c ;// 0x152c 1783int x1530 ;// 0x1530 1784int x1534 ;// 0x1534 1785int x1538 ;// 0x1538 1786int x153c ;// 0x153c 1787int x1540 ;// 0x1540 1788int x1544 ;// 0x1544 1789int x1548 ;// 0x1548 1790int x154c ;// 0x154c 1791int x1550 ;// 0x1550 1792int x1554 ;// 0x1554 1793int x1558 ;// 0x1558 1794int x155c ;// 0x155c 1795int x1560 ;// 0x1560 1796int x1564 ;// 0x1564 1797int x1568 ;// 0x1568 1798int x156c ;// 0x156c 1799int x1570 ;// 0x1570 1800int x1574 ;// 0x1574 1801int x1578 ;// 0x1578 1802int x157c ;// 0x157c 1803int x1580 ;// 0x1580 1804int x1584 ;// 0x1584 1805int x1588 ;// 0x1588 1806int x158c ;// 0x158c 1807int x1590 ;// 0x1590 1808int x1594 ;// 0x1594 1809int x1598 ;// 0x1598 1810int x159c ;// 0x159c 1811int x15a0 ;// 0x15a0 1812int x15a4 ;// 0x15a4 1813int x15a8 ;// 0x15a8 1814int x15ac ;// 0x15ac 1815int x15b0 ;// 0x15b0 1816int x15b4 ;// 0x15b4 1817int x15b8 ;// 0x15b8 1818int x15bc ;// 0x15bc 1819int x15c0 ;// 0x15c0 1820int x15c4 ;// 0x15c4 1821int x15c8 ;// 0x15c8 1822int x15cc ;// 0x15cc 1823int x15d0 ;// 0x15d0 1824int x15d4 ;// 0x15d4 1825int x15d8 ;// 0x15d8 1826int x15dc ;// 0x15dc 1827int x15e0 ;// 0x15e0 1828int x15e4 ;// 0x15e4 1829int x15e8 ;// 0x15e8 1830int x15ec ;// 0x15ec 1831int x15f0 ;// 0x15f0 1832int x15f4 ;// 0x15f4 1833int x15f8 ;// 0x15f8 1834int x15fc ;// 0x15fc 1835int x1600 ;// 0x1600 1836int x1604 ;// 0x1604 1837int x1608 ;// 0x1608 1838int x160c ;// 0x160c 1839int x1610 ;// 0x1610 1840int x1614 ;// 0x1614 1841int x1618 ;// 0x1618 1842int x161c ;// 0x161c 1843int x1620 ;// 0x1620 1844int x1624 ;// 0x1624 1845int x1628 ;// 0x1628 1846int x162c ;// 0x162c 1847int x1630 ;// 0x1630 1848int x1634 ;// 0x1634 1849int x1638 ;// 0x1638 1850int x163c ;// 0x163c 1851int x1640 ;// 0x1640 1852int x1644 ;// 0x1644 1853int x1648 ;// 0x1648 1854int x164c ;// 0x164c 1855int x1650 ;// 0x1650 1856int x1654 ;// 0x1654 1857int x1658 ;// 0x1658 1858int x165c ;// 0x165c 1859int x1660 ;// 0x1660 1860int x1664 ;// 0x1664 1861int x1668 ;// 0x1668 1862int x166c ;// 0x166c 1863int x1670 ;// 0x1670 1864int x1674 ;// 0x1674 1865int x1678 ;// 0x1678 1866int x167c ;// 0x167c 1867int x1680 ;// 0x1680 1868int x1684 ;// 0x1684 1869int x1688 ;// 0x1688 1870int x168c ;// 0x168c 1871int x1690 ;// 0x1690 1872int x1694 ;// 0x1694 1873int x1698 ;// 0x1698 1874int x169c ;// 0x169c 1875int x16a0 ;// 0x16a0 1876int x16a4 ;// 0x16a4 1877int x16a8 ;// 0x16a8 1878int x16ac ;// 0x16ac 1879int x16b0 ;// 0x16b0 1880int x16b4 ;// 0x16b4 1881int x16b8 ;// 0x16b8 1882int x16bc ;// 0x16bc 1883int x16c0 ;// 0x16c0 1884int x16c4 ;// 0x16c4 1885int x16c8 ;// 0x16c8 1886int x16cc ;// 0x16cc 1887int x16d0 ;// 0x16d0 1888int x16d4 ;// 0x16d4 1889int x16d8 ;// 0x16d8 1890int x16dc ;// 0x16dc 1891int x16e0 ;// 0x16e0 1892int x16e4 ;// 0x16e4 1893int x16e8 ;// 0x16e8 1894int x16ec ;// 0x16ec 1895int x16f0 ;// 0x16f0 1896int x16f4 ;// 0x16f4 1897int x16f8 ;// 0x16f8 1898int x16fc ;// 0x16fc 1899int x1700 ;// 0x1700 1900int x1704 ;// 0x1704 1901int x1708 ;// 0x1708 1902int x170c ;// 0x170c 1903int x1710 ;// 0x1710 1904int x1714 ;// 0x1714 1905int x1718 ;// 0x1718 1906int x171c ;// 0x171c 1907int x1720 ;// 0x1720 1908int x1724 ;// 0x1724 1909int x1728 ;// 0x1728 1910int x172c ;// 0x172c 1911int x1730 ;// 0x1730 1912int x1734 ;// 0x1734 1913int x1738 ;// 0x1738 1914int x173c ;// 0x173c 1915int x1740 ;// 0x1740 1916int x1744 ;// 0x1744 1917int x1748 ;// 0x1748 1918int x174c ;// 0x174c 1919int x1750 ;// 0x1750 1920int x1754 ;// 0x1754 1921int x1758 ;// 0x1758 1922int x175c ;// 0x175c 1923int x1760 ;// 0x1760 1924int x1764 ;// 0x1764 1925int x1768 ;// 0x1768 1926int x176c ;// 0x176c 1927int x1770 ;// 0x1770 1928int x1774 ;// 0x1774 1929int x1778 ;// 0x1778 1930int x177c ;// 0x177c 1931int x1780 ;// 0x1780 1932int x1784 ;// 0x1784 1933int x1788 ;// 0x1788 1934int x178c ;// 0x178c 1935int x1790 ;// 0x1790 1936int x1794 ;// 0x1794 1937int x1798 ;// 0x1798 1938int x179c ;// 0x179c 1939int x17a0 ;// 0x17a0 1940int x17a4 ;// 0x17a4 1941int x17a8 ;// 0x17a8 1942int x17ac ;// 0x17ac 1943int x17b0 ;// 0x17b0 1944int x17b4 ;// 0x17b4 1945int x17b8 ;// 0x17b8 1946int x17bc ;// 0x17bc 1947int x17c0 ;// 0x17c0 1948int x17c4 ;// 0x17c4 1949int x17c8 ;// 0x17c8 1950int x17cc ;// 0x17cc 1951int x17d0 ;// 0x17d0 1952int x17d4 ;// 0x17d4 1953int x17d8 ;// 0x17d8 1954int x17dc ;// 0x17dc 1955int x17e0 ;// 0x17e0 1956int x17e4 ;// 0x17e4 1957int x17e8 ;// 0x17e8 1958int x17ec ;// 0x17ec 1959int x17f0 ;// 0x17f0 1960int x17f4 ;// 0x17f4 1961int x17f8 ;// 0x17f8 1962int x17fc ;// 0x17fc 1963int x1800 ;// 0x1800 1964int x1804 ;// 0x1804 1965int x1808 ;// 0x1808 1966int x180c ;// 0x180c 1967int x1810 ;// 0x1810 1968int x1814 ;// 0x1814 1969int x1818 ;// 0x1818 1970int x181c ;// 0x181c 1971int x1820 ;// 0x1820 1972int x1824 ;// 0x1824 1973int x1828 ;// 0x1828 1974int x182c ;// 0x182c 1975int x1830 ;// 0x1830 1976int x1834 ;// 0x1834 1977int x1838 ;// 0x1838 1978int x183c ;// 0x183c 1979int x1840 ;// 0x1840 1980int x1844 ;// 0x1844 1981int x1848 ;// 0x1848 1982int x184c ;// 0x184c 1983int x1850 ;// 0x1850 1984int x1854 ;// 0x1854 1985int x1858 ;// 0x1858 1986int x185c ;// 0x185c 1987int x1860 ;// 0x1860 1988int x1864 ;// 0x1864 1989int x1868 ;// 0x1868 1990int x186c ;// 0x186c 1991int x1870 ;// 0x1870 1992int x1874 ;// 0x1874 1993int x1878 ;// 0x1878 1994int x187c ;// 0x187c 1995int x1880 ;// 0x1880 1996int x1884 ;// 0x1884 1997int x1888 ;// 0x1888 1998int x188c ;// 0x188c 1999int x1890 ;// 0x1890 2000int x1894 ;// 0x1894 2001int x1898 ;// 0x1898 2002int x189c ;// 0x189c 2003int x18a0 ;// 0x18a0 2004int x18a4 ;// 0x18a4 2005int x18a8 ;// 0x18a8 2006int x18ac ;// 0x18ac 2007int x18b0 ;// 0x18b0 2008int x18b4 ;// 0x18b4 2009int x18b8 ;// 0x18b8 2010int x18bc ;// 0x18bc 2011int x18c0 ;// 0x18c0 2012int x18c4 ;// 0x18c4 2013int x18c8 ;// 0x18c8 2014int x18cc ;// 0x18cc 2015int x18d0 ;// 0x18d0 2016int x18d4 ;// 0x18d4 2017int x18d8 ;// 0x18d8 2018int x18dc ;// 0x18dc 2019int x18e0 ;// 0x18e0 2020int x18e4 ;// 0x18e4 2021int x18e8 ;// 0x18e8 2022int x18ec ;// 0x18ec 2023int x18f0 ;// 0x18f0 2024int x18f4 ;// 0x18f4 2025int x18f8 ;// 0x18f8 2026int x18fc ;// 0x18fc 2027int x1900 ;// 0x1900 2028int x1904 ;// 0x1904 2029int x1908 ;// 0x1908 2030int x190c ;// 0x190c 2031int x1910 ;// 0x1910 2032int x1914 ;// 0x1914 2033int x1918 ;// 0x1918 2034int x191c ;// 0x191c 2035int x1920 ;// 0x1920 2036int x1924 ;// 0x1924 2037int x1928 ;// 0x1928 2038int x192c ;// 0x192c 2039int x1930 ;// 0x1930 2040int x1934 ;// 0x1934 2041int x1938 ;// 0x1938 2042int x193c ;// 0x193c 2043int x1940 ;// 0x1940 2044int x1944 ;// 0x1944 2045int x1948 ;// 0x1948 2046int x194c ;// 0x194c 2047int x1950 ;// 0x1950 2048int x1954 ;// 0x1954 2049int x1958 ;// 0x1958 2050int x195c ;// 0x195c 2051int x1960 ;// 0x1960 2052int x1964 ;// 0x1964 2053int x1968 ;// 0x1968 2054int x196c ;// 0x196c 2055int x1970 ;// 0x1970 2056int x1974 ;// 0x1974 2057int x1978 ;// 0x1978 2058int x197c ;// 0x197c 2059int x1980 ;// 0x1980 2060int x1984 ;// 0x1984 2061int x1988 ;// 0x1988 2062int x198c ;// 0x198c 2063int x1990 ;// 0x1990 2064int x1994 ;// 0x1994 2065int x1998 ;// 0x1998 2066int x199c ;// 0x199c 2067int x19a0 ;// 0x19a0 2068int x19a4 ;// 0x19a4 2069int x19a8 ;// 0x19a8 2070int x19ac ;// 0x19ac 2071int x19b0 ;// 0x19b0 2072int x19b4 ;// 0x19b4 2073int x19b8 ;// 0x19b8 2074int x19bc ;// 0x19bc 2075int x19c0 ;// 0x19c0 2076int x19c4 ;// 0x19c4 2077int x19c8 ;// 0x19c8 2078int x19cc ;// 0x19cc 2079int x19d0 ;// 0x19d0 2080int x19d4 ;// 0x19d4 2081int x19d8 ;// 0x19d8 2082int x19dc ;// 0x19dc 2083int x19e0 ;// 0x19e0 2084int x19e4 ;// 0x19e4 2085int x19e8 ;// 0x19e8 2086int x19ec ;// 0x19ec 2087int x19f0 ;// 0x19f0 2088int x19f4 ;// 0x19f4 2089int x19f8 ;// 0x19f8 2090int x19fc ;// 0x19fc 2091int x1a00 ;// 0x1a00 2092int x1a04 ;// 0x1a04 2093int x1a08 ;// 0x1a08 2094int x1a0c ;// 0x1a0c 2095int x1a10 ;// 0x1a10 2096int x1a14 ;// 0x1a14 2097int x1a18 ;// 0x1a18 2098int x1a1c ;// 0x1a1c 2099int x1a20 ;// 0x1a20 2100int x1a24 ;// 0x1a24 2101int x1a28 ;// 0x1a28 2102int x1a2c ;// 0x1a2c 2103int x1a30 ;// 0x1a30 2104int x1a34 ;// 0x1a34 2105int x1a38 ;// 0x1a38 2106int x1a3c ;// 0x1a3c 2107int x1a40 ;// 0x1a40 2108int x1a44 ;// 0x1a44 2109int x1a48 ;// 0x1a48 2110int x1a4c ;// 0x1a4c 2111int x1a50 ;// 0x1a50 2112int x1a54 ;// 0x1a54 2113int x1a58 ;// 0x1a58 2114int x1a5c ;// 0x1a5c 2115int x1a60 ;// 0x1a60 2116int x1a64 ;// 0x1a64 2117int x1a68 ;// 0x1a68 2118int x1a6c ;// 0x1a6c 2119int x1a70 ;// 0x1a70 2120int x1a74 ;// 0x1a74 2121int x1a78 ;// 0x1a78 2122int x1a7c ;// 0x1a7c 2123int x1a80 ;// 0x1a80 2124int x1a84 ;// 0x1a84 2125int x1a88 ;// 0x1a88 2126int x1a8c ;// 0x1a8c 2127int x1a90 ;// 0x1a90 2128int x1a94 ;// 0x1a94 2129int x1a98 ;// 0x1a98 2130int x1a9c ;// 0x1a9c 2131int x1aa0 ;// 0x1aa0 2132int x1aa4 ;// 0x1aa4 2133int x1aa8 ;// 0x1aa8 2134int x1aac ;// 0x1aac 2135int x1ab0 ;// 0x1ab0 2136int x1ab4 ;// 0x1ab4 2137int x1ab8 ;// 0x1ab8 2138int x1abc ;// 0x1abc 2139int x1ac0 ;// 0x1ac0 2140int x1ac4 ;// 0x1ac4 2141int x1ac8 ;// 0x1ac8 2142int x1acc ;// 0x1acc 2143int x1ad0 ;// 0x1ad0 2144int x1ad4 ;// 0x1ad4 2145int x1ad8 ;// 0x1ad8 2146int x1adc ;// 0x1adc 2147int x1ae0 ;// 0x1ae0 2148int x1ae4 ;// 0x1ae4 2149int x1ae8 ;// 0x1ae8 2150int x1aec ;// 0x1aec 2151int x1af0 ;// 0x1af0 2152int x1af4 ;// 0x1af4 2153int x1af8 ;// 0x1af8 2154int x1afc ;// 0x1afc 2155int x1b00 ;// 0x1b00 2156int x1b04 ;// 0x1b04 2157int x1b08 ;// 0x1b08 2158int x1b0c ;// 0x1b0c 2159int x1b10 ;// 0x1b10 2160int x1b14 ;// 0x1b14 2161int x1b18 ;// 0x1b18 2162int x1b1c ;// 0x1b1c 2163int x1b20 ;// 0x1b20 2164int x1b24 ;// 0x1b24 2165int x1b28 ;// 0x1b28 2166int x1b2c ;// 0x1b2c 2167int x1b30 ;// 0x1b30 2168int x1b34 ;// 0x1b34 2169int x1b38 ;// 0x1b38 2170int x1b3c ;// 0x1b3c 2171int x1b40 ;// 0x1b40 2172int x1b44 ;// 0x1b44 2173int x1b48 ;// 0x1b48 2174int x1b4c ;// 0x1b4c 2175int x1b50 ;// 0x1b50 2176int x1b54 ;// 0x1b54 2177int x1b58 ;// 0x1b58 2178int x1b5c ;// 0x1b5c 2179int x1b60 ;// 0x1b60 2180int x1b64 ;// 0x1b64 2181int x1b68 ;// 0x1b68 2182int x1b6c ;// 0x1b6c 2183int x1b70 ;// 0x1b70 2184int x1b74 ;// 0x1b74 2185int x1b78 ;// 0x1b78 2186int x1b7c ;// 0x1b7c 2187int x1b80 ;// 0x1b80 2188int x1b84 ;// 0x1b84 2189int x1b88 ;// 0x1b88 2190int x1b8c ;// 0x1b8c 2191int x1b90 ;// 0x1b90 2192int x1b94 ;// 0x1b94 2193int x1b98 ;// 0x1b98 2194int x1b9c ;// 0x1b9c 2195int x1ba0 ;// 0x1ba0 2196int x1ba4 ;// 0x1ba4 2197int x1ba8 ;// 0x1ba8 2198int x1bac ;// 0x1bac 2199int x1bb0 ;// 0x1bb0 2200int x1bb4 ;// 0x1bb4 2201int x1bb8 ;// 0x1bb8 2202int x1bbc ;// 0x1bbc 2203int x1bc0 ;// 0x1bc0 2204int x1bc4 ;// 0x1bc4 2205int x1bc8 ;// 0x1bc8 2206int x1bcc ;// 0x1bcc 2207int x1bd0 ;// 0x1bd0 2208int x1bd4 ;// 0x1bd4 2209int x1bd8 ;// 0x1bd8 2210int x1bdc ;// 0x1bdc 2211int x1be0 ;// 0x1be0 2212int x1be4 ;// 0x1be4 2213int x1be8 ;// 0x1be8 2214int x1bec ;// 0x1bec 2215int x1bf0 ;// 0x1bf0 2216int x1bf4 ;// 0x1bf4 2217int x1bf8 ;// 0x1bf8 2218int x1bfc ;// 0x1bfc 2219int x1c00 ;// 0x1c00 2220int x1c04 ;// 0x1c04 2221int x1c08 ;// 0x1c08 2222int x1c0c ;// 0x1c0c 2223int x1c10 ;// 0x1c10 2224int x1c14 ;// 0x1c14 2225int x1c18 ;// 0x1c18 2226int x1c1c ;// 0x1c1c 2227int x1c20 ;// 0x1c20 2228int x1c24 ;// 0x1c24 2229int x1c28 ;// 0x1c28 2230int x1c2c ;// 0x1c2c 2231int x1c30 ;// 0x1c30 2232int x1c34 ;// 0x1c34 2233int x1c38 ;// 0x1c38 2234int x1c3c ;// 0x1c3c 2235int x1c40 ;// 0x1c40 2236int x1c44 ;// 0x1c44 2237int x1c48 ;// 0x1c48 2238int x1c4c ;// 0x1c4c 2239int x1c50 ;// 0x1c50 2240int x1c54 ;// 0x1c54 2241int x1c58 ;// 0x1c58 2242int x1c5c ;// 0x1c5c 2243int x1c60 ;// 0x1c60 2244int x1c64 ;// 0x1c64 2245int x1c68 ;// 0x1c68 2246int x1c6c ;// 0x1c6c 2247int x1c70 ;// 0x1c70 2248int x1c74 ;// 0x1c74 2249int x1c78 ;// 0x1c78 2250int x1c7c ;// 0x1c7c 2251int x1c80 ;// 0x1c80 2252int x1c84 ;// 0x1c84 2253int x1c88 ;// 0x1c88 2254int x1c8c ;// 0x1c8c 2255int x1c90 ;// 0x1c90 2256int x1c94 ;// 0x1c94 2257int x1c98 ;// 0x1c98 2258int x1c9c ;// 0x1c9c 2259int x1ca0 ;// 0x1ca0 2260int x1ca4 ;// 0x1ca4 2261int x1ca8 ;// 0x1ca8 2262int x1cac ;// 0x1cac 2263int x1cb0 ;// 0x1cb0 2264int x1cb4 ;// 0x1cb4 2265int x1cb8 ;// 0x1cb8 2266int x1cbc ;// 0x1cbc 2267int x1cc0 ;// 0x1cc0 2268int x1cc4 ;// 0x1cc4 2269int x1cc8 ;// 0x1cc8 2270int x1ccc ;// 0x1ccc 2271int x1cd0 ;// 0x1cd0 2272int x1cd4 ;// 0x1cd4 2273int x1cd8 ;// 0x1cd8 2274int x1cdc ;// 0x1cdc 2275int x1ce0 ;// 0x1ce0 2276int x1ce4 ;// 0x1ce4 2277int x1ce8 ;// 0x1ce8 2278int x1cec ;// 0x1cec 2279int x1cf0 ;// 0x1cf0 2280int x1cf4 ;// 0x1cf4 2281int x1cf8 ;// 0x1cf8 2282int x1cfc ;// 0x1cfc 2283int x1d00 ;// 0x1d00 2284int x1d04 ;// 0x1d04 2285int x1d08 ;// 0x1d08 2286int x1d0c ;// 0x1d0c 2287int x1d10 ;// 0x1d10 2288int x1d14 ;// 0x1d14 2289int x1d18 ;// 0x1d18 2290int x1d1c ;// 0x1d1c 2291int x1d20 ;// 0x1d20 2292int x1d24 ;// 0x1d24 2293int x1d28 ;// 0x1d28 2294int x1d2c ;// 0x1d2c 2295int x1d30 ;// 0x1d30 2296int x1d34 ;// 0x1d34 2297int x1d38 ;// 0x1d38 2298int x1d3c ;// 0x1d3c 2299int x1d40 ;// 0x1d40 2300int x1d44 ;// 0x1d44 2301int x1d48 ;// 0x1d48 2302int x1d4c ;// 0x1d4c 2303int x1d50 ;// 0x1d50 2304int x1d54 ;// 0x1d54 2305int x1d58 ;// 0x1d58 2306int x1d5c ;// 0x1d5c 2307int x1d60 ;// 0x1d60 2308int x1d64 ;// 0x1d64 2309int x1d68 ;// 0x1d68 2310int x1d6c ;// 0x1d6c 2311int x1d70 ;// 0x1d70 2312int x1d74 ;// 0x1d74 2313int x1d78 ;// 0x1d78 2314int x1d7c ;// 0x1d7c 2315int x1d80 ;// 0x1d80 2316int x1d84 ;// 0x1d84 2317int x1d88 ;// 0x1d88 2318int x1d8c ;// 0x1d8c 2319int x1d90 ;// 0x1d90 2320int x1d94 ;// 0x1d94 2321int x1d98 ;// 0x1d98 2322int x1d9c ;// 0x1d9c 2323int x1da0 ;// 0x1da0 2324int x1da4 ;// 0x1da4 2325int x1da8 ;// 0x1da8 2326int x1dac ;// 0x1dac 2327int x1db0 ;// 0x1db0 2328int x1db4 ;// 0x1db4 2329int x1db8 ;// 0x1db8 2330int x1dbc ;// 0x1dbc 2331int x1dc0 ;// 0x1dc0 2332int x1dc4 ;// 0x1dc4 2333int x1dc8 ;// 0x1dc8 2334int x1dcc ;// 0x1dcc 2335int x1dd0 ;// 0x1dd0 2336int x1dd4 ;// 0x1dd4 2337int x1dd8 ;// 0x1dd8 2338int x1ddc ;// 0x1ddc 2339int x1de0 ;// 0x1de0 2340int x1de4 ;// 0x1de4 2341int x1de8 ;// 0x1de8 2342int x1dec ;// 0x1dec 2343int x1df0 ;// 0x1df0 2344int x1df4 ;// 0x1df4 2345int x1df8 ;// 0x1df8 2346int x1dfc ;// 0x1dfc 2347int x1e00 ;// 0x1e00 2348int x1e04 ;// 0x1e04 2349int x1e08 ;// 0x1e08 2350int x1e0c ;// 0x1e0c 2351int x1e10 ;// 0x1e10 2352int x1e14 ;// 0x1e14 2353int x1e18 ;// 0x1e18 2354int x1e1c ;// 0x1e1c 2355int x1e20 ;// 0x1e20 2356int x1e24 ;// 0x1e24 2357int x1e28 ;// 0x1e28 2358int x1e2c ;// 0x1e2c 2359int x1e30 ;// 0x1e30 2360int x1e34 ;// 0x1e34 2361int x1e38 ;// 0x1e38 2362int x1e3c ;// 0x1e3c 2363int x1e40 ;// 0x1e40 2364int x1e44 ;// 0x1e44 2365int x1e48 ;// 0x1e48 2366int x1e4c ;// 0x1e4c 2367int x1e50 ;// 0x1e50 2368int x1e54 ;// 0x1e54 2369int x1e58 ;// 0x1e58 2370int x1e5c ;// 0x1e5c 2371int x1e60 ;// 0x1e60 2372int x1e64 ;// 0x1e64 2373int x1e68 ;// 0x1e68 2374int x1e6c ;// 0x1e6c 2375int x1e70 ;// 0x1e70 2376int x1e74 ;// 0x1e74 2377int x1e78 ;// 0x1e78 2378int x1e7c ;// 0x1e7c 2379int x1e80 ;// 0x1e80 2380int x1e84 ;// 0x1e84 2381int x1e88 ;// 0x1e88 2382int x1e8c ;// 0x1e8c 2383int x1e90 ;// 0x1e90 2384int x1e94 ;// 0x1e94 2385int x1e98 ;// 0x1e98 2386int x1e9c ;// 0x1e9c 2387int x1ea0 ;// 0x1ea0 2388int x1ea4 ;// 0x1ea4 2389int x1ea8 ;// 0x1ea8 2390int x1eac ;// 0x1eac 2391int x1eb0 ;// 0x1eb0 2392int x1eb4 ;// 0x1eb4 2393int x1eb8 ;// 0x1eb8 2394int x1ebc ;// 0x1ebc 2395int x1ec0 ;// 0x1ec0 2396int x1ec4 ;// 0x1ec4 2397int x1ec8 ;// 0x1ec8 2398int x1ecc ;// 0x1ecc 2399int x1ed0 ;// 0x1ed0 2400int x1ed4 ;// 0x1ed4 2401int x1ed8 ;// 0x1ed8 2402int x1edc ;// 0x1edc 2403int x1ee0 ;// 0x1ee0 2404int x1ee4 ;// 0x1ee4 2405int x1ee8 ;// 0x1ee8 2406int x1eec ;// 0x1eec 2407int x1ef0 ;// 0x1ef0 2408int x1ef4 ;// 0x1ef4 2409int x1ef8 ;// 0x1ef8 2410int x1efc ;// 0x1efc 2411int x1f00 ;// 0x1f00 2412int x1f04 ;// 0x1f04 2413int x1f08 ;// 0x1f08 2414int x1f0c ;// 0x1f0c 2415int x1f10 ;// 0x1f10 2416int x1f14 ;// 0x1f14 2417int x1f18 ;// 0x1f18 2418int x1f1c ;// 0x1f1c 2419int x1f20 ;// 0x1f20 2420int x1f24 ;// 0x1f24 2421int x1f28 ;// 0x1f28 2422int x1f2c ;// 0x1f2c 2423int x1f30 ;// 0x1f30 2424int x1f34 ;// 0x1f34 2425int x1f38 ;// 0x1f38 2426int x1f3c ;// 0x1f3c 2427int x1f40 ;// 0x1f40 2428int x1f44 ;// 0x1f44 2429int x1f48 ;// 0x1f48 2430int x1f4c ;// 0x1f4c 2431int x1f50 ;// 0x1f50 2432int x1f54 ;// 0x1f54 2433int x1f58 ;// 0x1f58 2434int x1f5c ;// 0x1f5c 2435int x1f60 ;// 0x1f60 2436int x1f64 ;// 0x1f64 2437int x1f68 ;// 0x1f68 2438int x1f6c ;// 0x1f6c 2439int x1f70 ;// 0x1f70 2440int x1f74 ;// 0x1f74 2441int x1f78 ;// 0x1f78 2442int x1f7c ;// 0x1f7c 2443int x1f80 ;// 0x1f80 2444int x1f84 ;// 0x1f84 2445int x1f88 ;// 0x1f88 2446int x1f8c ;// 0x1f8c 2447int x1f90 ;// 0x1f90 2448int x1f94 ;// 0x1f94 2449int x1f98 ;// 0x1f98 2450int x1f9c ;// 0x1f9c 2451int x1fa0 ;// 0x1fa0 2452int x1fa4 ;// 0x1fa4 2453int x1fa8 ;// 0x1fa8 2454int x1fac ;// 0x1fac 2455int x1fb0 ;// 0x1fb0 2456int x1fb4 ;// 0x1fb4 2457int x1fb8 ;// 0x1fb8 2458int x1fbc ;// 0x1fbc 2459int x1fc0 ;// 0x1fc0 2460int x1fc4 ;// 0x1fc4 2461int x1fc8 ;// 0x1fc8 2462int x1fcc ;// 0x1fcc 2463int x1fd0 ;// 0x1fd0 2464int x1fd4 ;// 0x1fd4 2465int x1fd8 ;// 0x1fd8 2466int x1fdc ;// 0x1fdc 2467int x1fe0 ;// 0x1fe0 2468int x1fe4 ;// 0x1fe4 2469int x1fe8 ;// 0x1fe8 2470int x1fec ;// 0x1fec 2471int x1ff0 ;// 0x1ff0 2472int x1ff4 ;// 0x1ff4 2473int x1ff8 ;// 0x1ff8 2474int x1ffc ;// 0x1ffc 2475int x2000 ;// 0x2000 2476int x2004 ;// 0x2004 2477int x2008 ;// 0x2008 2478int x200c ;// 0x200c 2479int x2010 ;// 0x2010 2480int x2014 ;// 0x2014 2481int x2018 ;// 0x2018 2482int x201c ;// 0x201c 2483int x2020 ;// 0x2020 2484int x2024 ;// 0x2024 2485int x2028 ;// 0x2028 2486int x202c ;// 0x202c 2487int x2030 ;// 0x2030 2488int x2034 ;// 0x2034 2489int x2038 ;// 0x2038 2490int x203c ;// 0x203c 2491int x2040 ;// 0x2040 2492int x2044 ;// 0x2044 2493int x2048 ;// 0x2048 2494int x204c ;// 0x204c 2495int x2050 ;// 0x2050 2496int x2054 ;// 0x2054 2497int x2058 ;// 0x2058 2498int x205c ;// 0x205c 2499int x2060 ;// 0x2060 2500int x2064 ;// 0x2064 2501int x2068 ;// 0x2068 2502int x206c ;// 0x206c 2503int x2070 ;// 0x2070 2504int x2074 ;// 0x2074 2505int x2078 ;// 0x2078 2506int x207c ;// 0x207c 2507int x2080 ;// 0x2080 2508int x2084 ;// 0x2084 2509int x2088 ;// 0x2088 2510int x208c ;// 0x208c 2511int x2090 ;// 0x2090 2512int x2094 ;// 0x2094 2513int x2098 ;// 0x2098 2514int x209c ;// 0x209c 2515int x20a0 ;// 0x20a0 2516int x20a4 ;// 0x20a4 2517int x20a8 ;// 0x20a8 2518int x20ac ;// 0x20ac 2519int x20b0 ;// 0x20b0 2520int x20b4 ;// 0x20b4 2521int x20b8 ;// 0x20b8 2522int x20bc ;// 0x20bc 2523int x20c0 ;// 0x20c0 2524int x20c4 ;// 0x20c4 2525int x20c8 ;// 0x20c8 2526int x20cc ;// 0x20cc 2527int x20d0 ;// 0x20d0 2528int x20d4 ;// 0x20d4 2529int x20d8 ;// 0x20d8 2530int x20dc ;// 0x20dc 2531int x20e0 ;// 0x20e0 2532int x20e4 ;// 0x20e4 2533int x20e8 ;// 0x20e8 2534int x20ec ;// 0x20ec 2535int x20f0 ;// 0x20f0 2536int x20f4 ;// 0x20f4 2537int x20f8 ;// 0x20f8 2538int x20fc ;// 0x20fc 2539int x2100 ;// 0x2100 2540int x2104 ;// 0x2104 2541int x2108 ;// 0x2108 2542int x210c ;// 0x210c 2543int x2110 ;// 0x2110 2544int x2114 ;// 0x2114 2545int x2118 ;// 0x2118 2546int x211c ;// 0x211c 2547int x2120 ;// 0x2120 2548int x2124 ;// 0x2124 2549int x2128 ;// 0x2128 2550int x212c ;// 0x212c 2551int x2130 ;// 0x2130 2552int x2134 ;// 0x2134 2553int x2138 ;// 0x2138 2554int x213c ;// 0x213c 2555int x2140 ;// 0x2140 2556int x2144 ;// 0x2144 2557int x2148 ;// 0x2148 2558int x214c ;// 0x214c 2559int x2150 ;// 0x2150 2560int x2154 ;// 0x2154 2561int x2158 ;// 0x2158 2562int x215c ;// 0x215c 2563int x2160 ;// 0x2160 2564int x2164 ;// 0x2164 2565int x2168 ;// 0x2168 2566int x216c ;// 0x216c 2567int x2170 ;// 0x2170 2568int x2174 ;// 0x2174 2569int x2178 ;// 0x2178 2570int x217c ;// 0x217c 2571int x2180 ;// 0x2180 2572int x2184 ;// 0x2184 2573int x2188 ;// 0x2188 2574int x218c ;// 0x218c 2575int x2190 ;// 0x2190 2576int x2194 ;// 0x2194 2577int x2198 ;// 0x2198 2578int x219c ;// 0x219c 2579int x21a0 ;// 0x21a0 2580int x21a4 ;// 0x21a4 2581int x21a8 ;// 0x21a8 2582int x21ac ;// 0x21ac 2583int x21b0 ;// 0x21b0 2584int x21b4 ;// 0x21b4 2585int x21b8 ;// 0x21b8 2586int x21bc ;// 0x21bc 2587int x21c0 ;// 0x21c0 2588int x21c4 ;// 0x21c4 2589int x21c8 ;// 0x21c8 2590int x21cc ;// 0x21cc 2591int x21d0 ;// 0x21d0 2592int x21d4 ;// 0x21d4 2593int x21d8 ;// 0x21d8 2594int x21dc ;// 0x21dc 2595int x21e0 ;// 0x21e0 2596int x21e4 ;// 0x21e4 2597int x21e8 ;// 0x21e8 2598int x21ec ;// 0x21ec 2599int x21f0 ;// 0x21f0 2600int x21f4 ;// 0x21f4 2601int x21f8 ;// 0x21f8 2602int x21fc ;// 0x21fc 2603int x2200 ;// 0x2200 2604int x2204 ;// 0x2204 2605int x2208 ;// 0x2208 2606int x220c ;// 0x220c 2607int x2210 ;// 0x2210 2608int x2214 ;// 0x2214 2609int x2218 ;// 0x2218 2610int x221c ;// 0x221c 2611int x2220 ;// 0x2220 2612int x2224 ;// 0x2224 2613int x2228 ;// 0x2228 2614int x222c ;// 0x222c 2615int x2230 ;// 0x2230 2616int x2234 ;// 0x2234 2617int x2238 ;// 0x2238 2618int x223c ;// 0x223c 2619int x2240 ;// 0x2240 2620int x2244 ;// 0x2244 2621int x2248 ;// 0x2248 2622int x224c ;// 0x224c 2623int x2250 ;// 0x2250 2624int x2254 ;// 0x2254 2625int x2258 ;// 0x2258 2626int x225c ;// 0x225c 2627int x2260 ;// 0x2260 2628int x2264 ;// 0x2264 2629int x2268 ;// 0x2268 2630int x226c ;// 0x226c 2631int x2270 ;// 0x2270 2632int x2274 ;// 0x2274 2633int x2278 ;// 0x2278 2634int x227c ;// 0x227c 2635int x2280 ;// 0x2280 2636int x2284 ;// 0x2284 2637int x2288 ;// 0x2288 2638int x228c ;// 0x228c 2639int x2290 ;// 0x2290 2640int x2294 ;// 0x2294 2641int x2298 ;// 0x2298 2642int x229c ;// 0x229c 2643int x22a0 ;// 0x22a0 2644int x22a4 ;// 0x22a4 2645int x22a8 ;// 0x22a8 2646int x22ac ;// 0x22ac 2647int x22b0 ;// 0x22b0 2648int x22b4 ;// 0x22b4 2649int x22b8 ;// 0x22b8 2650int x22bc ;// 0x22bc 2651int x22c0 ;// 0x22c0 2652int x22c4 ;// 0x22c4 2653int x22c8 ;// 0x22c8 2654int x22cc ;// 0x22cc 2655int x22d0 ;// 0x22d0 2656int x22d4 ;// 0x22d4 2657int x22d8 ;// 0x22d8 2658int x22dc ;// 0x22dc 2659int x22e0 ;// 0x22e0 2660int x22e4 ;// 0x22e4 2661int x22e8 ;// 0x22e8 2662int x22ec ;// 0x22ec 2663int x22f0 ;// 0x22f0 2664int x22f4 ;// 0x22f4 2665int x22f8 ;// 0x22f8 2666int x22fc ;// 0x22fc 2667int x2300 ;// 0x2300 2668int x2304 ;// 0x2304 2669int x2308 ;// 0x2308 2670int x230c ;// 0x230c 2671int x2310 ;// 0x2310 2672int x2314 ;// 0x2314 2673int x2318 ;// 0x2318 2674int x231c ;// 0x231c 2675int x2320 ;// 0x2320 2676int x2324 ;// 0x2324 2677int x2328 ;// 0x2328 2678int x232c ;// 0x232c 2679int x2330 ;// 0x2330 2680int x2334 ;// 0x2334 2681int x2338 ;// 0x2338 2682int x233c ;// 0x233c 2683int x2340 ;// 0x2340 2684int x2344 ;// 0x2344 2685int x2348 ;// 0x2348 2686int x234c ;// 0x234c 2687int x2350 ;// 0x2350 2688int x2354 ;// 0x2354 2689int x2358 ;// 0x2358 2690int x235c ;// 0x235c 2691int x2360 ;// 0x2360 2692int x2364 ;// 0x2364 2693int x2368 ;// 0x2368 2694int x236c ;// 0x236c 2695int x2370 ;// 0x2370 2696int x2374 ;// 0x2374 2697int x2378 ;// 0x2378 2698int x237c ;// 0x237c 2699int x2380 ;// 0x2380 2700int x2384 ;// 0x2384 2701int x2388 ;// 0x2388 2702int x238c ;// 0x238c 2703int x2390 ;// 0x2390 2704int x2394 ;// 0x2394 2705int x2398 ;// 0x2398 2706int x239c ;// 0x239c 2707int x23a0 ;// 0x23a0 2708int x23a4 ;// 0x23a4 2709int x23a8 ;// 0x23a8 2710int x23ac ;// 0x23ac 2711int x23b0 ;// 0x23b0 2712int x23b4 ;// 0x23b4 2713int x23b8 ;// 0x23b8 2714int x23bc ;// 0x23bc 2715int x23c0 ;// 0x23c0 2716int x23c4 ;// 0x23c4 2717int x23c8 ;// 0x23c8 2718int x23cc ;// 0x23cc 2719int x23d0 ;// 0x23d0 2720int x23d4 ;// 0x23d4 2721int x23d8 ;// 0x23d8 2722int x23dc ;// 0x23dc 2723int x23e0 ;// 0x23e0 2724int x23e4 ;// 0x23e4 2725int x23e8 ;// 0x23e8 2726int x23ec ;// 0x23ec 2727int x23f0 ;// 0x23f0 2728int x23f4 ;// 0x23f4 2729int x23f8 ;// 0x23f8 2730int x23fc ;// 0x23fc 2731int x2400 ;// 0x2400 2732int x2404 ;// 0x2404 2733int x2408 ;// 0x2408 2734int x240c ;// 0x240c 2735int x2410 ;// 0x2410 2736int x2414 ;// 0x2414 2737int x2418 ;// 0x2418 2738int x241c ;// 0x241c 2739int x2420 ;// 0x2420 2740int x2424 ;// 0x2424 2741int x2428 ;// 0x2428 2742int x242c ;// 0x242c 2743int x2430 ;// 0x2430 2744int x2434 ;// 0x2434 2745int x2438 ;// 0x2438 2746int x243c ;// 0x243c 2747int x2440 ;// 0x2440 2748int x2444 ;// 0x2444 2749int x2448 ;// 0x2448 2750int x244c ;// 0x244c 2751int x2450 ;// 0x2450 2752int x2454 ;// 0x2454 2753int x2458 ;// 0x2458 2754int x245c ;// 0x245c 2755int x2460 ;// 0x2460 2756int x2464 ;// 0x2464 2757int x2468 ;// 0x2468 2758int x246c ;// 0x246c 2759int x2470 ;// 0x2470 2760int x2474 ;// 0x2474 2761int x2478 ;// 0x2478 2762int x247c ;// 0x247c 2763int x2480 ;// 0x2480 2764int x2484 ;// 0x2484 2765int x2488 ;// 0x2488 2766int x248c ;// 0x248c 2767int x2490 ;// 0x2490 2768int x2494 ;// 0x2494 2769int x2498 ;// 0x2498 2770int x249c ;// 0x249c 2771int x24a0 ;// 0x24a0 2772int x24a4 ;// 0x24a4 2773int x24a8 ;// 0x24a8 2774int x24ac ;// 0x24ac 2775int x24b0 ;// 0x24b0 2776int x24b4 ;// 0x24b4 2777int x24b8 ;// 0x24b8 2778int x24bc ;// 0x24bc 2779int x24c0 ;// 0x24c0 2780int x24c4 ;// 0x24c4 2781MatchInit match ;// 0x24c8 2782}; 2783 2784static Match * stc_match = (void * )0x8046b6a0 ; 2785static MatchCamera * stc_matchcam = (void * )0x80452c68 ; 2786static COBJ ** stc_matchcam_cobj = R13_OFFSET (-0x523c ); 2787static MatchHUD * stc_matchhud = (void * )0x804a0fd8 ; 2788static MatchOffscreen * stc_match_offscreen = (void * )0x804a1de0 ; 2789static MatchNametags * stc_match_nametags = (void * )0x804a1ed0 ; 2790static ExclamData * stc_exclam_data = (void * )0x803f9628 ;// 8 of these 2791static HSD_Archive ** stc_ifall_archive = (void * )0x804d6d5c ; 2792static CmSubject ** stc_match_camera_subject = (void * )0x804d6468 ;// linked list of all camera boxes 2793static int * stc_match_canvas = (void * )0x804a1f58 ; 2794static GOBJ ** stc_match_screencolor_gobj = (void * )0x804d63e0 ; 2795static u8 * stc_hud_is_hidden = (void * )0x804D6D6C ; 2796static u8 * stc_develop_hide_hud = (void * )0x804d6d58 ;// 2797static float * stc_match_fgm_volume = R13_OFFSET (-0x7dbc ); 2798static float * stc_match_bgm_volume = R13_OFFSET (-0x7db8 ); 2799static JOBJDesc ** stc_intro_scene_data = R13_OFFSET (-0x50a4 ); 2800static HSD_Archive ** stc_intro_archive = R13_OFFSET (-0x50ac ); 2801static HSD_Archive ** stc_viwait_archive = R13_OFFSET (-0x474c ); 2802 2803/*** Functions ***/ 2804CmSubject * CameraSubject_Alloc (); 2805void CameraSubject_Destroy (CmSubject * cam ); 2806void KOCount_Init (int updateCallback ); 2807void KOCount_Update (int KOs ); 2808void Stage_CameraLimitInitialization (); 2809void Stage_BlastzoneInitialization (); 2810Match * Match_GetMatchData (); 2811void Match_SetEndGraphic (int graphic ); 2812void Match_DisplayEndGraphic (void * cb ); 2813void Match_EndImmediate (); 2814void Match_EndVS (); 2815void Match_FadeScreen (int time ); 2816int Match_CheckIfTeams (); 2817int Match_CheckIfStock (); 2818int Match_CheckIfFriendlyFire (); 2819void Match_SetPostMatchSFX (int sfx ); 2820void Match_FreezeGame (int freeze_kind ); 2821void Match_UnfreezeGame (int freeze_kind ); 2822void Match_CreateHUD (int ply ); 2823void Match_HideHUD (); 2824void Match_ShowHUD (); 2825void Match_HidePercents (); 2826void Match_ShowPercents (); 2827void Match_ShowTimer (); 2828void Match_HideTimer (); 2829void Match_CorrectCamera (); 2830void Match_SetNormalCamera (); 2831void Match_SetFreeCamera (int unk ,int unk2 ); 2832void Match_SetZoomCamera (int unk ,int unk2 ); 2833void Match_SetFixedCamera (); 2834void Match_SetDevelopCamera (); 2835void DevCam_AdjustRotate (COBJ * cobj ,Vec3 * wobjpos ,Vec3 * rotate ,float stickX ,float stickY ); 2836void DevCam_AdjustPan (COBJ * cobj ,float stickX ,float stickY ); 2837void DevCam_AdjustZoom (COBJ * cobj ,float stickY ); 2838void ScreenFlash_Create (int kind ,int unk ); 2839void ScreenRumble_Execute (int kind ,Vec3 * pos ); 2840void Match_StoreGoCallback (GOBJ * gobj ,void * cb ); 2841void Match_CreateExclamation (int exclam ,int is_play_sfx ,int sfx ,int r6 ,void * cb ,void * cb2 ); 2842void Match_AdjustSoundOnPause (int is_pause ); 2843Vec3 * Match_GetPlayerHUDPos (int ply ); 2844COBJ * Match_GetCObj (); 2845float Match_GetDamageRatio (); 2846void Match_CreateGOExclamation (); 2847void Match_EnableFighterInputs (); 2848void Match_ApplyScreenColAnim (int colanim_index ,int unk ); 2849void Match_SetStageRenderFlags (int flags ); 2850u8 Match_CheckHUDHiddenDevelop (); 2851void Match_ShowHUDDevelop (); 2852void Match_HideHUDDevelop (); 2853u8 Match_IsHUDHiddenDevelop (); 2854void Match_InitCameraSubjects (int unk ); 2855void Match_InitFighters ();// allocs hsd obj for fighterdata 2856void Match_InitUnk1 (); 2857void Match_InitUnk2 (); 2858void Match_InitStage (); 2859void Match_LoadStage (GrExternal gr_kind ,int unk ); 2860void Match_LoadCommonItems (); 2861void Match_LoadPdPm (); 2862void Match_InitCrowdReact (); 2863void Match_InitItems ();// allocs hsd obj for itemdata 2864void Match_CreateStage (); 2865void Match_CreateCamera (); 2866void Match_CameraThink (); 2867void Match_CameraSetFOV (float fov ); 2868void Match_InitEffects (); 2869void Match_IndexAuxAnim (CharacterKind c_kind ,HSD_Archive * archive ,int anim_kind ); 2870void Match_ClearAuxAnim (); 2871char * Match_GetVIWaitFilename (CharacterKind c_kind ); 2872 2873void MatchInfo_0x0010_store (int unk ); 2874#endif