Files
Josh Goldberg 4606990207 Fix for trainers not walking to players
Distance between was being computed as NaN. Fixes #109.
2015-11-29 15:21:42 -08:00

1235 lines
43 KiB
JavaScript

FullScreenPokemon.FullScreenPokemon.settings.objects = {
"onMake": "onMake",
"indexMap": ["width", "height"],
"doPropertiesFull": true,
"giveFunctionsNames": true,
"inheritance": {
"Quadrant": {},
"Map": {},
"Area": {},
"Location": {},
"Thing": {
"Character": {
"BirdPokemon": {},
"Boss": {},
"BugCatcher": {},
"Buzzer": {},
"Cashier": {},
"ChubbyGuy": {},
"CoolTrainerM": {},
"Dad": {},
"Daisy": {},
"DeskWoman": {},
"Elder": {},
"Fatty": {},
"Girl": {},
"Gentleman": {},
"GlassesOldGuy": {},
"Guy": {},
"GymGuide": {},
"Lady": {},
"Lass": {},
"LandPokemon": {},
"LittleGirl": {},
"Mother": {},
"Nurse": {},
"Oak": {},
"OldMan": {},
"Player": {},
"Pokeball": {},
"Rival": {},
"Scientist": {},
"Toddler": {},
"WaterPokemon": {}
},
"Solid": {
"AsianScroll": {},
"BedSingle": {},
"Book": {},
"Bookshelf": {},
"BuildingBase": {
"BuildingTopBase": {
"BuildingTopLeft": {},
"BuildingTopMiddle": {},
"BuildingTopRight": {}
},
"BuildingMiddleBase": {
"BuildingMiddleLeft": {},
"BuildingMiddleMiddle": {},
"BuildingMiddleRight": {},
"BuildingMiddleWindow": {}
},
"BuildingBottom": {
"BuildingBottomLeft": {},
"BuildingBottomMiddle": {},
"BuildingBottomRight": {}
},
},
"Cabinet": {},
"CollisionDetector": {
"CutsceneTriggerer": {},
"MenuTriggerer": {},
"SightDetector": {},
"ThemePlayer": {},
"Transporter": {
"CaveOpening": {},
"Door": {},
"HiddenTransporter": {},
"StairsDown": {},
"StairsUp": {},
"StairsVertical": {}
},
},
"Computer": {},
"ComputerDesk": {},
"ConsoleAndController": {},
"DialogResponder": {
"CutsceneResponder": {}
},
"FenceWide": {},
"FenceVertical": {},
"FloorDiamondsDark": {},
"Grass": {},
"GymStatue": {},
"HealingMachine": {},
"HealingMachineBall": {},
"HouseBase": {
"HouseSide": {
"HouseLeft": {},
"HouseMiddle": {},
"HouseRight": {}
},
"HouseTop": {},
"HouseTopRoof": {},
"HouseTopRoofSide": {
"HouseTopRoofLeft": {},
"HouseTopRoofRight": {}
}
},
"HouseCenterLeft": {},
"HouseCenterMiddle": {},
"HouseCenterRight": {},
"HouseLargeBase": {
"HouseLargeTopLeft": {},
"HouseLargeTopMiddle": {},
"HouseLargeTopRight": {},
"HouseLargeCenter": {
"HouseLargeCenterLeft": {},
"HouseLargeCenterMiddle": {},
"HouseLargeCenterRight": {}
}
},
"HouseWallWhitewash": {},
"InvisibleWall": {},
"LabComputer": {},
"Label": {
"GymLabel": {},
"MartLabel": {},
"PokeLabel": {}
},
"Ledge": {},
"LedgeOpening": {},
"MountainSolidBase": {
"MountainRight": {},
"MountainTop": {},
"MountainTopRight": {},
"MountainTopLeft": {},
"MountainRight": {},
"MountainLeft": {},
"MountainBottom": {},
"MountainBottomLeft": {},
"MountainBottomRight": {},
},
"PlantLarge": {},
"PlantSmall": {},
"PokeCenterDesk": {
"PokeCenterDeskBlocker": {},
"PokeCenterDeskLeft": {}
},
"PottedPalmTree": {},
"Register": {},
"Rock": {},
"Sign": {},
"SofaLeft": {},
"Spawner": {},
"SquareWall": {
"SquareWallTop": {},
"SquareWallFront": {}
},
"StoreAisle": {},
"StoreFridge": {},
"StoreSaleBin": {},
"Stump": {},
"Table": {
"Table1x2": {},
"Table2x2": {},
"Table2x3": {},
"Table3x1": {},
},
"TelevisionMonitor": {},
"Tree": {},
"WaterEdge": {
"WaterEdgeTop": {},
"WaterEdgeRight": {},
"WaterEdgeBottom": {},
"WaterEdgeLeft": {}
},
"WindowDetector": {
"AreaSpawner": {}
}
},
"Scenery": {
"Blackboard": {},
"Bridge": {},
"Clipboard": {},
"Doormat": {},
"DoormatDotted": {},
"DoormatDashed": {},
"Flower": {},
"FlowerVase": {},
"ForestDirt": {},
"GroundArrow": {},
"Notepad": {},
"Painting": {},
"PokeCenterPoster": {},
"Shadow": {},
"SmokeSmall": {},
"SmokeMedium": {},
"SmokeLarge": {},
"Stool": {},
"Window": {},
"WindowBlinds": {},
"Portrait": {
"PlayerPortrait": {},
"PlayerSilhouetteSmall": {},
"PlayerSilhouetteLarge": {},
"OakPortrait": {},
"RivalPortrait": {},
"BlainePortrait": {},
"BrockPortrait": {},
"ErikaPortrait": {},
"GiovanniPortrait": {},
"KogaPortrait": {},
"LtSurgePortrait": {},
"MistyPortrait": {},
"SabrinaPortrait": {},
},
"BattleSprite": {
"BattleSpriteFront": {
"BattleSpriteFrontSmall": {
"BULBASAURFront": {},
"CHARMANDERFront": {},
"SQUIRTLEFront": {},
"CATERPIEFront": {},
"METAPODFront": {},
"WEEDLEFront": {},
"KAKUNAFront": {},
"PIDGEYFront": {},
"RATTATAFront": {},
"SPEAROWFront": {},
"EKANSFront": {},
"PIKACHUFront": {},
"SANDSHREWFront": {},
"NIDORANFemaleSymbolFront": {},
"NIDORANMaleSymbolFront": {},
"CLEFAIRYFront": {},
"JIGGLYPUFFFront": {},
"ZUBATFront": {},
"ODDISHFront": {},
"PARASFront": {},
"VENONATFront": {},
"DIGLETTFront": {},
"MEOWTHFront": {},
"PSYDUCKFront": {},
"MANKEYFront": {},
"GROWLITHEFront": {},
"POLIWAGFront": {},
"ABRAFront": {},
"MACHOPFront": {},
"BELLSPROUTFront": {},
"TENTACOOLFront": {},
"GEODUDEFront": {},
"SLOWPOKEFront": {},
"MAGNEMITEFront": {},
"DODUOFront": {},
"GRIMERFront": {},
"SHELLDERFront": {},
"KRABBYFront": {},
"VOLTORBFront": {},
"ELECTRODEFront": {},
"CUBONEFront": {},
"HORSEAFront": {},
"DITTOFront": {},
"EEVEEFront": {},
"OMANYTEFront": {},
"KABUTOFront": {},
"DRATINIFront": {},
"MEWFront": {}
},
"BattleSpriteFrontMedium": {
"BugCatcherFront": {},
"IVYSAURFront": {},
"CHARMELEONFront": {},
"WARTORTLEFront": {},
"PIDGEOTTOFront": {},
"RATICATEFront": {},
"SANDSLASHFront": {},
"NIDORINAFront": {},
"NIDORINOFront": {},
"CLEFABLEFront": {},
"VULPIXFront": {},
"WIGGLYTUFFFront": {},
"GLOOMFront": {},
"DUGTRIOFront": {},
"POLIWHIRLFront": {},
"KADABRAFront": {},
"WEEPINBELLFront": {},
"TENTACRUELFront": {},
"GRAVELERFront": {},
"GOLEMFront": {},
"PONYTAFront": {},
"MAGNETONFront": {},
"FARFETCHDFront": {},
"SEELFront": {},
"DEWGONGFront": {},
"HAUNTERFront": {},
"GENGARFront": {},
"DROWZEEFront": {},
"MAROWAKFront": {},
"HITMONCHANFront": {},
"KOFFINGFront": {},
"CHANSEYFront": {},
"TANGELAFront": {},
"SEADRAFront": {},
"STARYUFront": {},
"STARMIEFront": {},
"GOLDEENFront": {},
"MRMIMEFront": {},
"JYNXFront": {},
"ELECTABUZZFront": {},
"MAGMARFront": {},
"MAGIKARPFront": {},
"VAPOREONFront": {},
"JOLTEONFront": {},
"FLAREONFront": {},
"PORYGONFront": {},
"OMASTARFront": {},
"KABUTOPSFront": {},
"DRAGONAIRFront": {}
},
"BattleSpritFrontLarge": {
"BROCKFront": {},
"JRTRAINERFront": {},
"VENUSAURFront": {},
"CHARIZARDFront": {},
"BLASTOISEFront": {},
"BUTTERFREEFront": {},
"BEEDRILLFront": {},
"PIDGEOTFront": {},
"FEAROWFront": {},
"ARBOKFront": {},
"RAICHUFront": {},
"NIDOQUEENFront": {},
"NIDOKINGFront": {},
"NINETALESFront": {},
"GOLBATFront": {},
"VILEPLUMEFront": {},
"PARASECTFront": {},
"VENOMOTHFront": {},
"PERSIANFront": {},
"GOLDUCKFront": {},
"PRIMEAPEFront": {},
"ARCANINEFront": {},
"POLIWRATHFront": {},
"ALAKAZAMFront": {},
"MACHOKEFront": {},
"MACHAMPFront": {},
"VICTREEBELFront": {},
"RAPIDASHFront": {},
"SLOWBROFront": {},
"DODRIOFront": {},
"MUKFront": {},
"CLOYSTERFront": {},
"GASTLYFront": {},
"ONIXFront": {},
"HYPNOFront": {},
"KINGLERFront": {},
"EXEGGCUTEFront": {},
"EXEGGUTORFront": {},
"HITMONLEEFront": {},
"LICKITUNGFront": {},
"WEEZINGFront": {},
"RHYHORNFront": {},
"RHYDONFront": {},
"KANGASKHANFront": {},
"SEAKINGFront": {},
"SCYTHERFront": {},
"PINSIRFront": {},
"TAUROSFront": {},
"GYARADOSFront": {},
"LAPRASFront": {},
"AERODACTYLFront": {},
"SNORLAXFront": {},
"ARTICUNOFront": {},
"ZAPDOSFront": {},
"MOLTRESFront": {},
"DRAGONITEFront": {},
"MEWTWOFront": {}
}
},
"BattleSpriteBack": {
"PlayerBack": {},
"ElderBack": {},
"BULBASAURBack": {},
"IVYSAURBack": {},
"VENUSAURBack": {},
"CHARMANDERBack": {},
"CHARMELEONBack": {},
"CHARIZARDBack": {},
"SQUIRTLEBack": {},
"WARTORTLEBack": {},
"BLASTOISEBack": {},
"CATERPIEBack": {},
"METAPODBack": {},
"BUTTERFREEBack": {},
"WEEDLEBack": {},
"KAKUNABack": {},
"BEEDRILLBack": {},
"PIDGEYBack": {},
"PIDGEOTTOBack": {},
"PIDGEOTBack": {},
"RATTATABack": {},
"RATICATEBack": {},
"SPEAROWBack": {},
"FEAROWBack": {},
"EKANSBack": {},
"ARBOKBack": {},
"PIKACHUBack": {},
"RAICHUBack": {},
"SANDSHREWBack": {},
"SANDSLASHBack": {},
"NIDORANFemaleSymbolBack": {},
"NIDORINABack": {},
"NIDOQUEENBack": {},
"NIDORANMaleSymbolBack": {},
"NIDORINOBack": {},
"NIDOKINGBack": {},
"CLEFAIRYBack": {},
"CLEFABLEBack": {},
"VULPIXBack": {},
"NINETALESBack": {},
"JIGGLYPUFFBack": {},
"WIGGLYTUFFBack": {},
"ZUBATBack": {},
"GOLBATBack": {},
"ODDISHBack": {},
"GLOOMBack": {},
"VILEPLUMEBack": {},
"PARASBack": {},
"PARASECTBack": {},
"VENONATBack": {},
"VENOMOTHBack": {},
"DIGLETTBack": {},
"DUGTRIOBack": {},
"MEOWTHBack": {},
"PERSIANBack": {},
"PSYDUCKBack": {},
"GOLDUCKBack": {},
"MANKEYBack": {},
"PRIMEAPEBack": {},
"GROWLITHEBack": {},
"ARCANINEBack": {},
"POLIWAGBack": {},
"POLIWHIRLBack": {},
"POLIWRATHBack": {},
"ABRABack": {},
"KADABRABack": {},
"ALAKAZAMBack": {},
"MACHOPBack": {},
"MACHOKEBack": {},
"MACHAMPBack": {},
"BELLSPROUTBack": {},
"WEEPINBELLBack": {},
"VICTREEBELBack": {},
"TENTACOOLBack": {},
"TENTACRUELBack": {},
"GEODUDEBack": {},
"GRAVELERBack": {},
"GOLEMBack": {},
"PONYTABack": {},
"RAPIDASHBack": {},
"SLOWPOKEBack": {},
"SLOWBROBack": {},
"MAGNEMITEBack": {},
"MAGNETONBack": {},
"FARFETCHDBack": {},
"DODUOBack": {},
"DODRIOBack": {},
"SEELBack": {},
"DEWGONGBack": {},
"GRIMERBack": {},
"MUKBack": {},
"SHELLDERBack": {},
"CLOYSTERBack": {},
"GASTLYBack": {},
"HAUNTERBack": {},
"GENGARBack": {},
"ONIXBack": {},
"DROWZEEBack": {},
"HYPNOBack": {},
"KRABBYBack": {},
"KINGLERBack": {},
"VOLTORBBack": {},
"ELECTRODEBack": {},
"EXEGGCUTEBack": {},
"EXEGGUTORBack": {},
"CUBONEBack": {},
"MAROWAKBack": {},
"HITMONLEEBack": {},
"HITMONCHANBack": {},
"LICKITUNGBack": {},
"KOFFINGBack": {},
"WEEZINGBack": {},
"RHYHORNBack": {},
"RHYDONBack": {},
"CHANSEYBack": {},
"TANGELABack": {},
"KANGASKHANBack": {},
"HORSEABack": {},
"SEADRABack": {},
"GOLDEENBack": {},
"SEAKINGBack": {},
"STARYUBack": {},
"STARMIEBack": {},
"MRMIMEBack": {},
"SCYTHERBack": {},
"JYNXBack": {},
"ELECTABUZZBack": {},
"MAGMARBack": {},
"PINSIRBack": {},
"TAUROSBack": {},
"MAGIKARPBack": {},
"GYARADOSBack": {},
"LAPRASBack": {},
"DITTOBack": {},
"EEVEEBack": {},
"VAPOREONBack": {},
"JOLTEONBack": {},
"FLAREONBack": {},
"PORYGONBack": {},
"OMANYTEBack": {},
"OMASTARBack": {},
"KABUTOBack": {},
"KABUTOPSBack": {},
"AERODACTYLBack": {},
"SNORLAXBack": {},
"ARTICUNOBack": {},
"ZAPDOSBack": {},
"MOLTRESBack": {},
"DRATINIBack": {},
"DRAGONAIRBack": {},
"DRAGONITEBack": {},
"MEWTWOBack": {},
"MEWBack": {}
}
}
},
"Terrain": {
"TerrainSmall": {
"TerrainSmallRepeating": {
"WallIndoorHorizontalBands": {
"WallIndoorHorizontalBandsInverse": {}
},
"WallIndoorLightWithDarkBottom": {}
}
},
"BrickRoad": {},
"DirtClean": {},
"DirtForest": {},
"DirtLight": {},
"DirtMedium": {},
"DirtWhite": {},
"FloorCheckered": {},
"FloorDiamonds": {},
"FloorLinedHorizontal": {},
"FloorTiledDiagonal": {},
"Mountain": {},
"Water": {},
"WallIndoorFancyWithDarkBottom": {},
"WallIndoorHorizontalBandsDark": {}
},
"Text": {
"Exclamation": {},
"HalfArrowHorizontal": {},
"HPBar": {},
"Note": {},
"Square": {
"BlackSquare": {},
"DarkGraySquare": {},
"LightGraySquare": {},
"WhiteSquare": "",
},
"CharacterUpperCase": {
"CharA": {},
"CharB": {},
"CharC": {},
"CharD": {},
"CharE": {},
"CharF": {},
"CharG": {},
"CharH": {},
"CharI": {},
"CharJ": {},
"CharK": {},
"CharL": {},
"CharM": {},
"CharN": {},
"CharO": {},
"CharP": {},
"CharQ": {},
"CharR": {},
"CharS": {},
"CharT": {},
"CharU": {},
"CharV": {},
"CharW": {},
"CharX": {},
"CharY": {},
"CharZ": {},
},
"CharacterLowerCase": {
"Chara": {},
"Charb": {},
"Charc": {},
"Chard": {},
"Chare": {},
"Charf": {},
"Charh": {},
"Chari": {},
"Chark": {},
"Charl": {},
"Charm": {},
"Charn": {},
"Charo": {},
"Charr": {},
"Chars": {},
"Chart": {},
"Charu": {},
"Charv": {},
"Charw": {},
"Charx": {},
"Charz": {},
"CharacterDropped": {
"Charg": {},
"Charj": {},
"Charp": {},
"Charq": {},
"Chary": {}
}
},
"CharacterShadow": {
"Char0Shadow": {},
"Char1Shadow": {},
"Char2Shadow": {},
"Char3Shadow": {},
"Char4Shadow": {},
"Char5Shadow": {},
"Char6Shadow": {},
"Char7Shadow": {},
"Char8Shadow": {},
"Char9Shadow": {},
},
"Number": {
"Char0": {},
"Char1": {},
"Char2": {},
"Char3": {},
"Char4": {},
"Char5": {},
"Char6": {},
"Char7": {},
"Char8": {},
"Char9": {}
},
"Symbol": {
"CharSpace": {},
"CharTimes": {},
"CharLeftParenthesis": {},
"CharRightParenthesis": {},
"CharColon": {},
"CharSemicolon": {},
"CharLeftSquareBracket": {},
"CharRightSquareBracket": {},
"CharPoke": {},
"CharMon": {},
"CharNo": {},
"CharID": {},
"CharHyphen": {},
"CharMDash": {},
"CharUnderscore": {},
"CharQuestionMark": {},
"CharExclamationMark": {},
"CharMaleSymbol": {},
"CharFemaleSymbol": {},
"CharSlash": {},
"CharPeriod": {},
"CharComma": {},
"CharED": {},
"CharApostrophe": {},
"CharFeet": {},
"CharInches": {},
"ChareFancy": {},
"CharBall": {},
"CharBallEmpty": {},
"CharCircle": {},
"CharHP": {},
"CharLevel": {},
"Char$": {}
},
"CharArrow": {
"CharArrowUp": {},
"CharArrowRight": {},
"CharArrowDown": {},
"CharArrowLeft": {}
},
"HalfArrow": {
"HalfArrowLeft": {},
"HalfArrowRight": {}
},
"Line": {
"LineDecoratorHorizontal": {
"LineDecoratorHorizontalLeft": {},
"LineDecoratorHorizontalRight": {},
},
"LineDecoratorVertical": {},
"LineSeparatorHorizontal": {},
}
},
"Menu": {}
}
},
"properties": {
"Quadrant": {
"tolx": 0,
"toly": 0
},
"Map": {
"initialized": false
},
"Area": {
"background": "black",
//"stretches": [
////{ "thing": "BackgroundFaker", "noBoundaryStretch": true } // This needs implementation.
//],
"onMake": FullScreenPokemon.FullScreenPokemon.prototype.areaProcess,
"attributes": {
"invisibleWallBorders": {
"afters": [
{ "thing": "InvisibleWall", "noBoundaryStretch": true },
{ "thing": "InvisibleWall", "noBoundaryStretch": true },
{ "thing": "InvisibleWall", "noBoundaryStretch": true },
{ "thing": "InvisibleWall", "noBoundaryStretch": true }
]
}
}
},
"Location": {
"entry": "Normal",
},
"Thing": {
// Sizing
"width": 8,
"height": 8,
// Placement
"alive": true,
"placed": false,
"maxquads": 4,
// Sprites
"sprite": "",
"spriteType": "neither",
"scale": 1,
"offsetX": 0,
"offsetY": 0,
// Movements
"movement": undefined,
// Collisions
"tolTop": 0,
"tolRight": 0,
"tolBottom": 0,
"tolLeft": 0,
// Triggered Functions
"onMake": FullScreenPokemon.FullScreenPokemon.prototype.thingProcess
},
"Character": {
"groupType": "Character",
"speed": FullScreenPokemon.FullScreenPokemon.unitsize / 3,
"walking": false,
"shouldWalk": false,
"switchDirectionOnDialog": true,
"heightGrass": 4,
"direction": 2, // top,right,bottom,left is 0,1,2,3
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * -2,
"roamingDirections": [0, 1, 2, 3],
"onThingAdd": FullScreenPokemon.FullScreenPokemon.prototype.spawnCharacter,
"onWalkingStart": FullScreenPokemon.FullScreenPokemon.prototype.animateCharacterStartWalking,
"onWalkingStop": FullScreenPokemon.FullScreenPokemon.prototype.animateCharacterStopWalking,
"activate": FullScreenPokemon.FullScreenPokemon.prototype.collideCharacterDialog,
},
"Buzzer": {
"width": 3.5,
"height": 3,
"nocollide": true
},
"CoolTrainerM": {
"attributes": {
"sitting": {}
}
},
"Elder": {
"attributes": {
"resting": {}
}
},
"Player": {
"id": "player",
"player": true,
"canKeyWalking": true,
"direction": 2,
"speed": FullScreenPokemon.FullScreenPokemon.unitsize / 2,
"onWalkingStart": FullScreenPokemon.FullScreenPokemon.prototype.animatePlayerStartWalking,
"onWalkingStop": FullScreenPokemon.FullScreenPokemon.prototype.animatePlayerStopWalking,
"getKeys": function () {
return {
"0": false,
"1": false,
"2": false,
"3": false,
"a": false,
"b": false
};
}
},
"Pokeball": {
"action": "item",
"activate": FullScreenPokemon.FullScreenPokemon.prototype.collidePokeball
},
"Rival": {
"id": "Rival"
},
"Solid": {
"repeat": true,
"groupType": "Solid",
"activate": FullScreenPokemon.FullScreenPokemon.prototype.collideCharacterDialog
},
"BedSingle": [8, 16],
"Bookshelf": {
"width": 8,
"height": 16,
"dialogDirections": true,
"dialog": ["", "", "Crammed full of %%%%%%%POKEMON%%%%%%% books!", ""]
},
"BuildingBase": [4, 4],
"BuildingTopBase": {
"height": 16,
"spriteheight": 4
},
"BuildingMiddleBase": {
"height": 8,
"spriteheight": 4
},
"BuildingBottom": {
"height": 4
},
"Cabinet": [8, 16],
"CollisionDetector": {
"collide": FullScreenPokemon.FullScreenPokemon.prototype.collideCollisionDetector,
"active": false,
"hidden": true
},
"CutsceneTriggerer": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateCutsceneTriggerer,
"requireOverlap": true
},
"MenuTriggerer": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateMenuTriggerer
},
"SightDetector": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateSightDetector,
"requireOverlap": true,
"hidden": true
},
"ThemePlayer": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateThemePlayer,
"requireOverlap": true,
"hidden": true
},
"Transporter": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateTransporter,
"requireOverlap": true,
"hidden": false
},
"HiddenTransporter": {
"hidden": true,
"noStretchBoundaries": true
},
"Computer": {
"width": 8,
"height": 12,
"tolBottom": FullScreenPokemon.FullScreenPokemon.unitsize * 4
},
"ComputerDesk": [8, 16],
"ConsoleController": [8, 5],
"DialogResponder": {
"hidden": true
},
"CutsceneResponder": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateCutsceneResponder
},
"FenceVertical": [4, 8],
"FloorDiamondsDark": {
"width": 4,
"height": 8,
"spritewidth": 8,
"spriteheight": 8,
"nocollide": true
},
"Grass": {
"rarity": 10,
"collide": FullScreenPokemon.FullScreenPokemon.prototype.collideCharacterGrass
},
"GymStatue": {
"height": 16,
"activate": FullScreenPokemon.FullScreenPokemon.prototype.activateGymStatue
},
"HealingMachine": [16, 16],
"HealingMachineBall": [3, 3],
"HouseBase": {
"width": 32,
"height": 8,
"spritewidth": 16,
"spriteheight": 16
},
"HouseSide": {
"width": 8,
"spritewidth": 8,
"spriteheight": 8
},
"HouseTop": {
"width": 32,
"height": 16,
"spritewidth": 16
},
"HouseTopRoof": {
"spritewidth": .5
},
"HouseTopRoofSide": {
"width": 8,
"spritewidth": 8,
"spriteheight": 8
},
"HouseLargeBase": {
"width": 48,
"height": 20,
"spritewidth": 20
},
"HouseLargeTopLeft": {
"width": 8,
"spritewidth": 8
},
"HouseLargeTopMiddle": {
"width": 48,
},
"HouseLargeTopRight": {
"width": 8,
"spritewidth": 8
},
"HouseLargeCenter": {
"spritewidth": 4,
"height": 12
},
"HouseWallWhitewash": [4, 4],
"InvisibleWall": {
"hidden": true
},
"LabComputer": [16, 8],
"Label": {
"position": "end"
},
"GymLabel": [16, 4],
"Ledge": {
"width": 8,
"height": 4,
"spritewidth": 4,
"direction": 2,
"collide": FullScreenPokemon.FullScreenPokemon.prototype.collideLedge,
"attributes": {
"jagged": {
"spritewidth": 16
},
"crumbleLeft": {},
"crumbleRight": {}
}
},
"LedgeOpening": {
"width": 8,
"height": 4,
"spritewidth": 4,
"nocollide": true
},
"MountainSolidBase": [4, 4],
"MountainTop": [4, 5],
"PlantLarge": [16, 16],
"PokeCenterDeskBlocker": {
"width": 8,
"height": 8,
"spritewidth": 1
},
"PokeCenterDeskLeft": [4, 8],
"PottedPalmTree": [8, 16],
"Sign": {
"attributes": {
"forest": {}
}
},
"SofaLeft": [8, 16],
"Spawner": {
"hidden": true,
"onThingAdd": FullScreenPokemon.FullScreenPokemon.prototype.activateSpawner
},
"AreaSpawner": {
"activate": FullScreenPokemon.FullScreenPokemon.prototype.spawnAreaSpawner
},
"SquareWallTop": {
"spriteheight": .5
},
"SquareWallFront": {
"spriteheight": 1.5
},
"StoreAisle": [16, 16],
"StoreFridge": [8, 16],
"StoreSaleBin": [8, 12],
"Table": {
"tolBottom": FullScreenPokemon.FullScreenPokemon.unitsize * 4
},
"Table1x2": [8, 16],
"Table2x2": [16, 16],
"Table2x3": [16, 16],
"Table3x1": [24, 12],
"Tree": {},
"Door": {
"width": 8,
"height": 8,
"requireDirection": 0,
"attributes": {
"indoor": {}
}
},
"WaterEdge": [4, 4],
"WindowDetector": {
"hidden": true,
"onThingAdd": FullScreenPokemon.FullScreenPokemon.prototype.spawnWindowDetector
},
"FloorLinedHorizontal": {
"spritewidth": .5,
"spriteheight": 2
},
"Scenery": {
"groupType": "Scenery",
"repeat": true
},
"Blackboard": [16, 8],
"Bridge": [4, 4],
"Clipboard": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * -1.5
},
"Doormat": {
"spritewidth": .5,
"spriteheight": 8
},
"DoormatDotted": {
"spritewidth": 3.5,
"spriteheight": 7.5
},
"DoormatDashed": {
"spritewidth": 4,
"spriteheight": 8
},
"Flower": {
"width": 4,
"height": 4,
"spriteCycle": [
["one", "one", "two", "three"], "waving", 14
]
},
"FlowerVase": [6, 6],
"ForestDirt": [4, 4],
"GroundArrow": [4, 4],
"HPBar": {
"width": .5,
"height": 2,
"repeat": true
},
"Note": [6.5, 7],
"Shadow": [7, 4],
"SmokeSmall": [5.5, 5.5],
"SmokeMedium": [7.5, 7.5],
"SmokeLarge": [7.5, 7.5],
"PlayerPortrait": [13, 23],
"PlayerSilhouetteSmall": [7, 11.5],
"PlayerSilhouetteLarge": [11, 20],
"OakPortrait": [14.5, 28],
"RivalPortrait": [14.5, 28],
"BattleSpriteFrontSmall": [20, 20],
"BattleSpriteFrontMedium": [24, 24],
"BattleSpriteFrontLarge": [28, 28],
"BattleSpriteBack": {
"width": 16,
"height": 14, // 16 (lowest 2 cropped)
"scale": 2,
"repeat": false
},
"ElderBack": [14, 14],
"PlayerBack": [14, 14],
"Terrain": {
"groupType": "Terrain",
"repeat": true,
},
"TerrainSmall": [2, 2],
"TerrainSmallRepeating": {
"width": 8,
"height": 8,
"spritewidth": 2,
"spriteheight": 2
},
"BrickRoad": [4, 4],
"Mountain": [4, 4],
"WallIndoorLightWithDarkBottom": {
"spritewidth": .5,
"spriteheight": 8
},
"WallIndoorFancyWithDarkBottom": [4, 8],
"WallIndoorHorizontalBandsDark": {
"width": 8,
"height": 8,
"spritewidth": .5,
"spriteheight": 2,
},
"Water": {
"spriteCycle": [
["one", "two", "three", "two", "one", "four", "five", "four"], "waving", 14
]
},
"Text": {
"groupType": "Text",
"width": 4,
"height": 4,
"paddingX": 0,
"paddingY": 8,
"noshiftx": true,
"noshifty": true,
},
"Exclamation": {
"width": 7,
"height": 7,
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * -2
},
"HalfArrowHorizontal": [4, 2],
"Square": {
"width": 1,
"height": 1,
"repeat": true
},
"CharacterDropped": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .75
},
"CharacterShadow": [3.5, 3.5],
"CharMDash": {
"attributes": {
"blinking": {
"onThingAdd": console.log.bind(console, "HA")
}
}
},
"CharPoke": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharMon": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharNo": {
"width": 4,
"height": 3,
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharID": {
"width": 4,
"height": 3,
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharSlash": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharPeriod": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharComma": {
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize * .5
},
"CharApostrophe": [1, 2],
"CharFeet": [2, 1.5],
"CharInches": [3.5, 2],
"CharBall": [3.5, 3.5],
"CharBallEmpty": [3.5, 3.5],
"CharCircle": [2.5, 2.5],
"CharHP": [5.5, 2],
"CharLevel": [3, 2.5],
"Char$": {
"width": 4,
"spritewidth": 2.5,
"height": 4,
"offsetX": FullScreenPokemon.FullScreenPokemon.unitsize / 2,
"offsetY": FullScreenPokemon.FullScreenPokemon.unitsize / 2,
},
"CharArrowUp": [3.5, 2.5],
"CharArrowRight": [2.5, 3.5],
"CharArrowDown": [3.5, 2.5],
"CharArrowLeft": [2.5, 3.5],
"HalfArrow": [4, 2],
"Line": {
"width": 1,
"height": 1,
"repeat": true
},
"LineDecoratorHorizontal": [8, 3],
"LineDecoratorVertical": [3, 8],
"LineSeparatorHorizontal": [4, 4],
"Menu": {
"groupType": "Text",
"spritewidth": 4,
"spriteheight": 4,
"width": 8,
"height": 8,
"repeat": true,
"noshiftx": true,
"noshifty": true,
"arrowXOffset": 1.25,
"arrowYOffset": 1,
"textXOffset": 4,
"textYOffset": 7.5,
"textSpeed": 1,
"attributes": {
"plain": {},
"light": {
"spritewidth": 1,
"spriteheight": 1
},
"lined": {
"spritewidth": 2,
"spriteheight": 2
},
"dirty": {}
}
},
}
};